(function(){var templateCache = window.$templateCache||Ares.templateCache;templateCache.put('/app/patient/components/charge-order-print-template-view.html','<div class="print-template">    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="returnPrintInfo()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">打印预览</h4>    </div>    <div class="modal-body ares-dialog-body" style="padding:20px;">        <div ng-if="printType == \'patientCharge\'">            <detail-print-template></detail-print-template>        </div>        <div ng-if="printType == \'patientSimpleCharge\'">            <simple-print-template></simple-print-template>        </div>        <div ng-if="printType == \'patientReimburseCharge\'">            <refund-print-template></refund-print-template>        </div>    </div>    <div class="modal-footer ares-dialog-footer">        <button type="button" class="btn btn-default" print-div="{{templateType}}" id="printBtn" style="display:none;">打印</button>    </div></div>');templateCache.put('/app/patient/components/patient-barcode-batchprint/patient-barcode-batchprint-view.html','<div style="display:none;width:210mm;height:100%;text-align:center;position:fixed;z-index:999;left:0px;top:0px;background:#fff" id="patient-barcode-batchprint"></div>');templateCache.put('/app/patient/components/patient-barcode-print/patient-barcode-print-view.html','<div style="display:none" id="patient-barcode-print">    <div class="patient-barcode-print">        <style scoped>            .patient-barcode-print {                margin-top:10px;            }            .barcode {                margin:0 auto;                width:430px;            }            .patient-barcode-print .barcode-text {                font-size: 14px;                text-align: center;                width: 100%;            }            .barcode-text span {                min-width: 65px;                padding-left: 10px;                display: inline-block;            }        </style>        <div class="barcode" id="privateIdBarcode"></div>        <div class="barcode-text">            <span>姓名：{{patientInfo.name}}</span>            <span>性别：{{patientInfo.sex | toSexString}}</span>            <span>年龄：{{patientInfo.birth | toAgeYearString}}</span>        </div>    </div></div>');templateCache.put('/app/patient/components/patient-image/patient-image-view.html','<div id="ares-image-component">    <style>        #ares-image-component {            width: 120px;            height: 120px;            box-sizing: border-box;            border: 1px solid #e3e3e3;        }            #ares-image-component .ares-image-content {                width: 100%;                height: 100%;                box-sizing: border-box;                position: relative;            }                #ares-image-component .ares-image-content .photo-wrap {                    width: 100%;                    height: 100%;                    line-height: 116px;                    text-align: center;                    vertical-align: middle;                }                #ares-image-component .ares-image-content.not-allow-action .photo-wrap {                    cursor: not-allowed;                }                #ares-image-component .ares-image-content .photo-action-wrap {                    width: 90px;                    height: 90px;                    box-sizing: border-box;                    border-radius: 100%;                    background-color: #e3e3e3;                    text-align: center;                    padding: 16px;                    margin: 14px;                    cursor: pointer;                }                #ares-image-component .ares-image-content.not-allow-action .photo-action-wrap {                    cursor: not-allowed;                }                #ares-image-component .ares-image-content .photo-action-wrap .upload-icon {                    display: block;                    background-image: url(/app-resource/images/icon-patient-photo.png);                    background-size: 48px 80px;                    background-position: 0px 64px;                    width: 16px;                    height: 16px;                    margin: 10px 20px;                    padding: 0;                }            #ares-image-component .image-description {                width: 120px;                min-height: 22px;                text-align: center;            }            #ares-image-component .photo-action-menus li {                display: inline-block;                width: 26px;                height: 26px;                line-height: 26px;                background: #ffffff;                border-radius: 100%;                text-align: center;                vertical-align: middle;            }                #ares-image-component .photo-action-menus li:hover {                    background: #00a8cb;                    cursor: pointer;                }                    #ares-image-component .photo-action-menus li:hover > .action-icon {                        background-position-x: -32px;                    }            #ares-image-component .action-icon {                display: inline-block;                margin: 5px;                width: 16px;                height: 16px;                background-image: url(/app-resource/images/icon-patient-photo.png);                background-size: 48px 80px;                background-position-x: -16px;            }                #ares-image-component .action-icon.upload {                    background-position-y: -16px;                }                #ares-image-component .action-icon.delete {                    background-position-y: -64px;                }    </style>    <div id="patient-photo-div" class="ares-image-content"         ng-class="(patient.isArchived || patient.isInactive)?\'not-allow-action\':\'\'">        <div class="photo-wrap" ng-show="picture.filePath">            <img ng-src="{{picture.filePath}}" style="max-width: 100%; max-height: 100%;" />        </div>        <div class="photo-wrap" ng-show="picture.filePath&&isPatientPhotoHovered"             style="position: absolute; top: 0; background: rgba(0,0,0,0.65); ">            <ul class="photo-action-menus">                <li ng-click="onClickPhoto()"><span class="action-icon upload"></span></li>                <li ng-click="onDeletePatientPicture()"><span class="action-icon delete"></span></li>            </ul>        </div>        <div ng-click="onClickPhoto()" class="photo-action-wrap" ng-style="{\'cursor\':isViewModel?\'not-allowed\':\'pointer\'}"             ng-hide="picture.filePath">            <span ng-hide="patient.isArchived || patient.isInactive" style="display: block; margin-top: 18px;">按此上传</span>            <b ng-hide="patient.isArchived || patient.isInactive" class="upload-icon"></b>        </div>    </div>    <p class="image-description"       ng-hide="picture.filePath || patient.isArchived || patient.isInactive">        请上传至少        <br />        120 x 120 照片    </p></div>');templateCache.put('/app/patient/components/patient-info-base-block/patient-info-base-block-view.html','<div id="patient-info-base-wrap" class="patient-info-record-edit-block">    <style scoped>        .free-field-panel .sub-panel-heading .sub-panel-heading-title {            color: #3d3d3d !important;        }        .free-field-panel .sub-panel-body .free-field-input {            width: 200px !important;            box-sizing:border-box;        }        .panel-body .free-field-panel .title-panel {            width: 85px;            overflow:hidden;            text-overflow:ellipsis;            white-space: nowrap;            padding:0 !important;        }    </style>    <div class="panel panel-default">        <div class="panel-heading">            <div class="pull-left panel-heading-description">                <span class="panel-heading-title">基本信息({{officeName}})</span>            </div>            <div class="pull-right panel-heading-action" ng-hide="isViewPatientInfo">                <button class="btn btn-primary" ng-show="!infoBase.isEdit"                        ares-authorize="patientMgmt.edit" ares-not-archive                        ng-click="onBlockEditing(\'infoBase\')"                        sensors-enabled="true"                         sensors-event-name="PatientInfoBaseBlock"                         sensors-event-type="编辑"                        >                    编辑                </button>            </div>        </div>        <div class="panel-body">            <patient-info-person-view></patient-info-person-view>            <patient-info-contact-view></patient-info-contact-view>            <patient-info-extend-view></patient-info-extend-view>            <patient-info-relation-view></patient-info-relation-view>            <patient-info-new-relation-view></patient-info-new-relation-view>            <free-field-view target-type="1" field-title="患者自由项" is-edit="infoBase.isEdit" source="patientFreeField"></free-field-view>        </div>    </div>    <div class="edit-action-wrap" ng-show="infoBase.isEdit">        <button class="btn btn-primary" ng-click="onSavePatient(\'infoBase\')">确认</button>        <button class="btn btn-default" ng-click="onCleanBlockEditing(\'infoBase\')">取消</button>    </div></div>');templateCache.put('/app/patient/components/patient-info-client-relation-block/patient-info-client-relation-block-view.html','<div id="patient-info-client-relation-wrap" class="patient-info-record-edit-block">    <div class="panel panel-default">        <div class="panel-heading">            <div class="pull-left panel-heading-description">                <span class="panel-heading-title">客户关系</span>            </div>            <div class="pull-right panel-heading-action" ng-hide="isViewPatientInfo">                <button class="btn btn-primary" ng-show="!infoClientRelation.isEdit"                        ares-authorize="patientMgmt.editCrmInfo" ares-not-archive                        ng-click="onBlockEditing(\'infoClientRelation\')">                    编辑                </button>            </div>        </div>        <div class="panel-body">            <table class="patient-info-record-form-table" ng-class="infoClientRelation.isEdit?\'form-block-edit\':\'\'">                <tr>                    <td>                        <span class="notes-title">                            责任医生：<b class="required-red" ng-show="isEditRequiredField(\'dutyDoctorId\',\'infoClientRelation\')">*</b>                        </span>                        <span class="notes-value" ng-hide="infoClientRelation.isEdit">{{patient.dutyDoctorName}}</span>                        <div class="notes-value" ng-show="infoClientRelation.isEdit">                            <base-drop-down-list-view id="dutyDoctorId"                                                      style="width:220px;"                                                      bind-data-source="doctors"                                                      bind-value-field="patient.dutyDoctorId"                                                      on-change="onChangeDutyDoctor()"                                                      filter = "contains"                                                      placeholder="未指定责任医生"></base-drop-down-list-view>                        </div>                    </td>                    <td>                        <span class="notes-title">咨询师：</span>                        <span class="notes-value" ng-hide="infoClientRelation.isEdit">                            {{patient.consultantName}}                        </span>                        <div class="notes-value" ng-show="infoClientRelation.isEdit">                            <base-drop-down-list-view id="consultant"                                                      style="width:220px;"                                                      bind-data-source="consultants"                                                      bind-value-field="patient.consultantId"                                                      on-change="onChangeConsultant()"                                                      filter = "contains"                                                      placeholder="未指定咨询师"></base-drop-down-list-view>                        </div>                    </td>                    <td>                        <span class="notes-title">                            网电咨询师：<b class="required-red" ng-show="isEditRequiredField(\'onlineConsultantId\',\'infoClientRelation\')">*</b>                        </span>                        <span class="notes-value" ng-hide="infoClientRelation.isEdit">                            {{patient.extension.onlineConsultantName}}                        </span>                        <div class="notes-value" ng-show="infoClientRelation.isEdit">                            <base-drop-down-list-view id="onlineConsultantId"                                                      style="width:220px;"                                                      bind-data-source="onlineConsultants"                                                      filter = "contains"                                                      bind-value-field="patient.extension.onlineConsultantId"                                                      placeholder="未指定网电咨询师"></base-drop-down-list-view>                        </div>                    </td>                </tr>                <tr>                    <td>                        <span class="notes-title">                            专属客服：<b class="required-red" ng-show="isEditRequiredField(\'attendantId\',\'infoClientRelation\')">*</b>                        </span>                        <span class="notes-value" ng-hide="infoClientRelation.isEdit">                            {{patient.attendantName}}                        </span>                        <div class="notes-value" ng-show="infoClientRelation.isEdit">                            <base-drop-down-list-view id="attendantId"                                                      style="width:220px;"                                                      bind-data-source="attendants"                                                      filter = "contains"                                                      bind-value-field="patient.attendantId"                                                      on-change="onChangeConsultant()"                                                      placeholder="未指定客服"></base-drop-down-list-view>                        </div>                    </td>                    <td colspan="1">                        <span class="notes-title">专属顾问：</span>                        <span class="notes-value" ng-hide="infoClientRelation.isEdit">                            {{patient.advisorName}}                        </span>                        <div class="notes-value" ng-show="infoClientRelation.isEdit">                            <input id="advisorId" ng-model="patient.advisorId" style="width:220px;" />                        </div>                        <span ng-show="infoClientRelation.isEdit"                              tooltip="数据来源为责任医生与咨询师。"                              tooltip-class="ares-tooltip"                              tooltip-trigger="mouseenter">                            <img style="width: 18px; margin-top: 8px; margin-left: 2px;"                                 src="images/question.png" />                        </span>                    </td>                    <td>                        <span class="notes-title">开发人员：</span>                        <span class="notes-value" ng-hide="infoClientRelation.isEdit">                            {{patient.extension.developerName}}                        </span>                        <div class="notes-value" ng-show="infoClientRelation.isEdit">                            <base-drop-down-list-view id="developerId"                                                      style="width:220px;"                                                      bind-data-source="developers"                                                      filter = "contains"                                                      bind-value-field="patient.extension.developerId"                                                      placeholder="未指定开发人员"></base-drop-down-list-view>                        </div>                    </td>                </tr>            </table>        </div>    </div>    <div class="edit-action-wrap" ng-show="infoClientRelation.isEdit">        <button class="btn btn-primary" ng-click="onSavePatient(\'infoClientRelation\')">确认</button>        <button class="btn btn-default" ng-click="onCleanBlockEditing(\'infoClientRelation\')">取消</button>    </div></div>');templateCache.put('/app/patient/components/patient-info-contact/patient-info-contact-view.html','<div class="sub-panel" id="">    <div class="sub-panel-heading">        <div class="pull-left">            <span class="sub-panel-heading-title">联络方式</span>        </div>    </div>    <div class="sub-panel-body">        <table class="patient-info-record-form-table" ng-class="infoBase.isEdit?\'form-block-edit\':\'\'">            <tr>                <td rowspan="3">                    <div class="notes-row-info">                        <span class="notes-title minor-size">                            手机：<b class="required-red" ng-show="isEditRequiredField(\'mobile\',\'infoBase\')">*</b>                        </span>                        <div class="notes-value" ng-show="!infoBase.isEdit">                            <div class="patient-mobile-item" ng-repeat="item in canBrowseMobileItems(patient.mobileList)">                                <span class="phone-number-type notes-value-item">{{item.mobileType}}</span>                                <span class="notes-value-item" ng-show="isShowPatientContact">{{item.mobile}}</span>                                <span class="notes-value-item" ng-hide="isShowPatientContact">{{item.maskedMobile}}</span>                                <span class="notes-value-item btn-icon"                                      data-toggle="tooltip" data-placement="top" data-original-title="详情" ng-click="showContactView(item)"                                      ng-show="isShowViewContactButton&&!isShowPatientContact&&item.mobile">                                    <span class="glyphicon glyphicon-eye-open"></span>                                </span>                                <!--<span class="notes-value-item btn-icon"                                      data-toggle="tooltip" data-placement="top" data-original-title="操作日志"                                      ng-click="viewPatientContactLog()" ng-show="isShowViewLogButton&&item.mobile">                                    <span class="glyphicon glyphicon-th-list"></span>                                </span>-->                            </div>                        </div>                        <div class="notes-value" ng-show="infoBase.isEdit" id="mobile">                            <div class="patient-mobile-item" ng-repeat="item in patient.mobileList">                                <input kendo-drop-down-list ng-model="item.mobileType"                                       k-data-source="mobileAttribute" k-data-text-field="\'itemName\'"                                       k-data-value-field="\'itemName\'" style="width:70px;"                                       k-on-change="onChangeMobileType(kendoEvent,item)" />                                <input ng-model="item.mobile" style="width:120px;"                                       placeholder="请输入号码" id="mobile{{$index}}"                                       class="mobile-number-input form-control"                                       ares-patient-contact-input maxlength="20" />                                <button type="button" class="btn btn-default btn-icon"                                        ng-click="deleteMobile($index)" ng-hide="$first">                                    <span class="glyphicon glyphicon-minus"></span>                                </button>                                <button type="button" class="btn btn-default btn-icon"                                        ng-click="addMobile()" ng-show="$first">                                    <span class="glyphicon glyphicon-plus"></span>                                </button>                                <button type="button" class="btn btn-default btn-icon"                                        ares-config-click="editMobile()" ng-show="$first"                                        ares-disable-when-parent="PatientInfo">                                    <span class="glyphicon glyphicon-cog"></span>                                </button>                            </div>                        </div>                    </div>                    <div class="notes-row-info">                        <span class="notes-title minor-size">                            电话：<b class="required-red" ng-show="isEditRequiredField(\'phoneNumber\',\'infoBase\')">*</b>                        </span>                        <div class="notes-value" ng-show="!infoBase.isEdit">                            <div class="patient-mobile-item" ng-repeat="item in canBrowseMobileItems(patient.phoneNumberList)">                                <span class="phone-number-type notes-value-item">{{item.mobileType}}</span>                                <span class="notes-value-item" ng-show="isShowPatientContact">{{item.mobile}}</span>                                <span class="notes-value-item" ng-hide="isShowPatientContact">{{item.maskedMobile}}</span>                                <span class="notes-value-item btn-icon"                                      data-toggle="tooltip" data-placement="top" data-original-title="详情" ng-click="showContactView(item)"                                      ng-show="isShowViewContactButton&&!isShowPatientContact&&item.mobile">                                    <span class="glyphicon glyphicon-eye-open"></span>                                </span>                                <!--<span class="notes-value-item btn-icon"                                      data-toggle="tooltip" data-placement="top" data-original-title="操作日志"                                      ng-click="viewPatientContactLog()" ng-show="isShowViewLogButton&&item.mobile">                                    <span class="glyphicon glyphicon-th-list"></span>                                </span>-->                            </div>                        </div>                        <div class="notes-value" ng-show="infoBase.isEdit" id="phoneNumber">                            <div class="patient-mobile-item" ng-repeat="item in patient.phoneNumberList">                                <input kendo-drop-down-list ng-model="item.mobileType"                                       k-data-source="phoneNumberAttribute" k-data-text-field="\'itemName\'"                                       k-data-value-field="\'itemName\'" style="width:70px;"                                       k-on-change="onChangeMobileType(kendoEvent,item)" />                                <input ng-model="item.mobile" style="width:120px;"                                       placeholder="请输入号码" id="phoneNumber{{$index}}"                                       class="mobile-number-input form-control"                                       ares-patient-contact-input maxlength="40"/>                                <button type="button" class="btn btn-default btn-icon"                                        ng-click="deletePhoneNumber($index)" ng-hide="$first">                                    <span class="glyphicon glyphicon-minus"></span>                                </button>                                <button type="button" class="btn btn-default btn-icon"                                        ng-click="addPhoneNumber()" ng-show="$first">                                    <span class="glyphicon glyphicon-plus"></span>                                </button>                                <button type="button" class="btn btn-default btn-icon"                                        ares-config-click="editPhoneNumber()" ng-show="$first"                                        ares-disable-when-parent="PatientInfo">                                    <span class="glyphicon glyphicon-cog"></span>                                </button>                            </div>                        </div>                    </div>                </td>                <td>                    <div class="notes-row-info">                        <span class="notes-title minor-size">                            微信：<b class="required-red" ng-show="isEditRequiredField(\'weixin\',\'infoBase\')">*</b>                        </span>                        <div class="notes-value">                            <span class="notes-value-item" ng-show="patient.marketCenterAccount" id="weixin">已绑定</span>                            <span class="notes-value-item" ng-show="!patient.marketCenterAccount">未绑定</span>                            <button type="button" class="btn btn-primary btn-xs" ng-click="getPatientQrCode()" ng-if="!isViewPatientInfo"                                    ng-hide="patient.marketCenterAccount || isProfessional">                                绑定                            </button>                            <button type="button" class="btn btn-primary btn-xs" ng-click="unBindPatientWeiXin()"  ng-if="!isViewPatientInfo"                                    ng-show="patient.marketCenterAccount && !isProfessional">                                解除绑定                            </button>                        </div>                    </div>                    <div class="notes-row-info">                        <span class="notes-title minor-size">                            QQ：<b class="required-red" ng-show="isEditRequiredField(\'qq\',\'infoBase\')">*</b>                        </span>                        <span class="notes-value" ng-show="!infoBase.isEdit && isShowPatientContact">{{patient.qq}}</span>                        <span class="notes-value" ng-show="!infoBase.isEdit && !isShowPatientContact">{{patient.qq}}</span>                        <div class="notes-value" ng-show="infoBase.isEdit">                            <input class="form-control" placeholder="请输入QQ号"                                   id="qq" name="qq" ng-model="patient.qq"                                   ares-patient-contact-input maxlength="20" />                        </div>                    </div>                    <div class="notes-row-info">                        <span class="notes-title minor-size">                            邮箱：<b class="required-red" ng-show="isEditRequiredField(\'email\',\'infoBase\')">*</b>                        </span>                        <span class="notes-value" ng-show="!infoBase.isEdit && isShowPatientContact">{{patient.email}}</span>                        <span class="notes-value" ng-show="!infoBase.isEdit && !isShowPatientContact">{{patient.email}}</span>                        <div class="notes-value" ng-show="infoBase.isEdit">                            <input class="form-control" placeholder="请输入邮箱"                                   id="email" name="email" ng-model="patient.email"                                   ares-patient-contact-input maxlength="30" />                        </div>                    </div>                </td>                <td rowspan="3">                    <span class="notes-title minor-size">                        地址：<b class="required-red" ng-show="isEditRequiredField(\'homeAddress\',\'infoBase\')">*</b>                    </span>                    <p class="notes-value" ng-show="!infoBase.isEdit">                        {{patient.familyAddress.province}}                        {{patient.familyAddress.city}}                        {{patient.familyAddress.district}}                        <span ng-show="isShowPatientContact">{{patient.familyAddress.content}}</span>                        <span ng-show="!isShowPatientContact">{{patient.familyAddress.content}}</span>                    </p>                    <div class="notes-value" ng-show="infoBase.isEdit">                        <table>                            <tr>                                <td>                                    <input style="width: 105px;margin:0 5px 17px 0;" id="province" />                                </td>                                <td>                                    <input style="width: 105px;margin:0 0 17px 5px;" id="city" />                                </td>                            </tr>                            <tr>                                <td>                                    <input style="width: 105px;margin-bottom:17px;" id="district" />                                </td>                                <td></td>                            </tr>                            <tr>                                <td colspan="2">                                    <textarea class="form-control" placeholder="请输入详细地址"                                              id="homeAddress" ares-patient-contact-input                                              name="homeAddress" style="min-height:34px;box-sizing:border-box;"                                              ng-model="patient.familyAddress.content" maxlength="255"></textarea>                                </td>                            </tr>                        </table>                    </div>                </td>            </tr>        </table>    </div></div>');templateCache.put('/app/patient/components/patient-info-examination-block/patient-info-examination-block-view.html','<div id="patient-info-examination-wrap" class="patient-info-record-edit-block">    <style>        #patient-info-examination-wrap .k-multiselect-wrap {            min-height: 32px;        }    </style>    <div class="panel panel-default">        <div class="panel-heading">            <div class="pull-left panel-heading-description">                <span class="panel-heading-title">全身检查</span>            </div>            <div class="pull-right panel-heading-action" ng-hide="isViewPatientInfo">                <button class="btn btn-primary" ng-show="!infoExamination.isEdit"                        ares-authorize="patientMgmt.editBodyCheck" ares-not-archive                        ng-click="onBlockEditing(\'infoExamination\')">                    编辑                </button>            </div>        </div>        <div class="panel-body">            <table class="patient-info-record-form-table" ng-class="infoExamination.isEdit?\'form-block-edit\':\'\'">                <tr>                    <td colspan="3">                        <span class="notes-title">既往史：</span>                        <p class="notes-value" ng-hide="infoExamination.isEdit">                            {{ patient.bodycheck.disease | nullValueShowInfo:\'无既往史\' }}                        </p>                        <div class="notes-value" ng-show="infoExamination.isEdit">                            <input id="Disease"style="width:600px;max-width:600px;">                        </div>                    </td>                </tr>                <tr>                    <td colspan="3">                        <span class="notes-title">过敏源：</span>                        <p class="notes-value" ng-hide="infoExamination.isEdit">                            {{ patient.bodycheck.medicine  | nullValueShowInfo:\'无过敏源\'}}                        </p>                        <div class="notes-value" ng-show="infoExamination.isEdit">                            <input id="Medicine"style="width:600px;max-width:600px;">                        </div>                    </td>                </tr>                <tr>                    <td colspan="3">                        <span class="notes-title">用药史：</span>                        <p class="notes-value" ng-hide="infoExamination.isEdit">                            {{ patient.bodycheck.medicineNow }}                        </p>                        <div class="notes-value" ng-show="infoExamination.isEdit">                            <input id="MedicineNow"style="width:600px;max-width:600px;">                        </div>                    </td>                </tr>                <tr>                    <td colspan="3">                        <span class="notes-title">刷牙：</span>                        <div class="notes-value">                            <span class="notes-value-item" ng-hide="infoExamination.isEdit">                                {{ patient.bodycheck.brushTimeDay }}                            </span>                            <div class="notes-value-item" ng-show="infoExamination.isEdit">                                <select id="BrushTimeDay" class="not-ignore form-control"                                        ng-model="patient.bodycheck.brushTimeDay" style="width:60px;">                                    <option value="0">0</option>                                    <option value="1">1</option>                                    <option value="2">2</option>                                    <option value="3">3</option>                                    <option value="4">4</option>                                    <option value="5">5</option>                                </select>                            </div>                            <span class="notes-value-item"                                  ng-show="patient.bodycheck.brushTimeDay || patient.bodycheck.brushTimeDay==0 || infoExamination.isEdit">次/天</span>                            <span class="notes-value-item" ng-hide="infoExamination.isEdit" style="margin-left:20px;">                                {{ patient.bodycheck.brushTimeMinute }}                            </span>                            <div class="notes-value-item" ng-show="infoExamination.isEdit" style="margin-left:20px;">                                <select id="BrushTimeMinute" class="not-ignore form-control"                                        ng-model="patient.bodycheck.brushTimeMinute" style="width:70px;">                                    <option value="0">0</option>                                    <option value="1">1</option>                                    <option value="2">2</option>                                    <option value="3">3</option>                                    <option value="4">4</option>                                    <option value="5">5</option>                                    <option value="6">6</option>                                    <option value="7">7</option>                                    <option value="8">8</option>                                    <option value="9">9</option>                                    <option value="10">10</option>                                </select>                            </div>                            <span class="notes-value-item"                                  ng-show="patient.bodycheck.brushTimeMinute || patient.bodycheck.brushTimeMinute==0 || infoExamination.isEdit">分钟/次</span>                        </div>                        <div class="notes-value" style="margin-left:20px;">                            <label class="notes-value-item checkbox-item" for="IsElectricBrush"                                   ng-show="isBrowseShow(\'isElectricBrush\')">                                <input type="checkbox" id="IsElectricBrush"                                       ng-disabled="!infoExamination.isEdit"                                       ng-model="patient.bodycheck.isElectricBrush">                                <span>电动牙刷</span>                            </label>                            <label class="notes-value-item checkbox-item" for="IsDentalflos"                                   ng-show="isBrowseShow(\'isDentalflos\')">                                <input type="checkbox" id="IsDentalflos"                                       ng-disabled="!infoExamination.isEdit"                                       ng-model="patient.bodycheck.isDentalflos">                                <span>牙线</span>                            </label>                            <label class="notes-value-item checkbox-item" for="IsCreviceBrush"                                   ng-show="isBrowseShow(\'isCreviceBrush\')">                                <input type="checkbox" id="IsCreviceBrush"                                       ng-disabled="!infoExamination.isEdit"                                       ng-model="patient.bodycheck.isCreviceBrush">                                <span>牙缝刷</span>                            </label>                            <label class="notes-value-item checkbox-item" for="IsMouthwashSlobber"                                   ng-show="isBrowseShow(\'isMouthwashSlobber\')">                                <input type="checkbox" id="IsMouthwashSlobber"                                       ng-disabled="!infoExamination.isEdit"                                       ng-model="patient.bodycheck.isMouthwashSlobber">                                <span>漱口水</span>                            </label>                            <label class="notes-value-item checkbox-item" for="IsToothpick"                                   ng-show="isBrowseShow(\'isToothpick\')">                                <input type="checkbox" id="IsToothpick"                                       ng-disabled="!infoExamination.isEdit"                                       ng-model="patient.bodycheck.isToothpick">                                <span>牙签</span>                            </label>                        </div>                    </td>                </tr>                <tr>                    <td colspan="3">                        <span class="notes-title">吸烟：</span>                        <div class="notes-value">                            <span class="notes-value-item" ng-hide="infoExamination.isEdit">                                {{ patient.bodycheck.smokeTimeDay }}                            </span>                            <div class="notes-value-item" ng-show="infoExamination.isEdit">                                <select id="SmokeTimeDay" class="not-ignore form-control"                                        style="width:80px;" ng-model="patient.bodycheck.smokeTimeDay">                                    <option value="0">0</option>                                    <option value="1">1</option>                                    <option value="2">2</option>                                    <option value="3">3</option>                                    <option value="4">4</option>                                    <option value="5">5</option>                                    <option value="6">6</option>                                    <option value="7">7</option>                                    <option value="8">8</option>                                    <option value="9">9</option>                                    <option value="10">10</option>                                    <option value="11">11</option>                                    <option value="12">12</option>                                    <option value="13">13</option>                                    <option value="14">14</option>                                    <option value="15">15</option>                                    <option value="16">16</option>                                    <option value="17">17</option>                                    <option value="18">18</option>                                    <option value="19">19</option>                                    <option value="20">20</option>                                </select>                            </div>                            <span class="notes-value-item"                                  ng-show="patient.bodycheck.smokeTimeDay || patient.bodycheck.smokeTimeDay==0 || infoExamination.isEdit">次/天</span>                        </div>                        <div class="notes-value">                            <label class="notes-value-item checkbox-item" for="IsMolarTooth"                                   ng-show="isBrowseShow(\'isMolarTooth\')">                                <input type="checkbox" id="IsMolarTooth"                                       ng-disabled="!infoExamination.isEdit"                                       ng-model="patient.bodycheck.isMolarTooth" disabled="disabled">                                <span>夜磨牙</span>                            </label>                            <label class="notes-value-item checkbox-item" for="IsLikeHardFoot"                                   ng-show="isBrowseShow(\'isLikeHardFoot\')">                                <input type="checkbox" id="IsLikeHardFoot"                                       ng-disabled="!infoExamination.isEdit"                                       ng-model="patient.bodycheck.isLikeHardFoot" disabled="disabled">                                <span>喜硬食</span>                            </label>                            <label class="notes-value-item checkbox-item" for="IsExtraction"                                   ng-show="isBrowseShow(\'isExtraction\')">                                <input type="checkbox" id="IsExtraction"                                       ng-disabled="!infoExamination.isEdit"                                       ng-model="patient.bodycheck.isExtraction" disabled="disabled">                                <span>拔牙史</span>                            </label>                            <label class="notes-value-item checkbox-item" for="IsOrthodontics"                                   ng-show="isBrowseShow(\'isOrthodontics\')">                                <input type="checkbox" id="IsOrthodontics"                                       ng-disabled="!infoExamination.isEdit"                                       ng-model="patient.bodycheck.isOrthodontics" disabled="disabled">                                <span>正畸史</span>                            </label>                            <label class="notes-value-item checkbox-item" for="IsRepair"                                   ng-show="isBrowseShow(\'isRepair\')">                                <input type="checkbox" id="IsRepair"                                       ng-disabled="!infoExamination.isEdit"                                       ng-model="patient.bodycheck.isRepair" disabled="disabled">                                <span>修复史</span>                            </label>                            <label class="notes-value-item checkbox-item" for="IsATooth"                                   ng-show="isBrowseShow(\'isaTooth\')">                                <input type="checkbox" id="IsATooth"                                       ng-disabled="!infoExamination.isEdit"                                       ng-model="patient.bodycheck.isaTooth" disabled="disabled">                                <span>种牙史</span>                            </label>                            <label class="notes-value-item checkbox-item" for="IsDentizing"                                   ng-show="isBrowseShow(\'isDentizing\')">                                <input type="checkbox" id="IsDentizing"                                       ng-disabled="!infoExamination.isEdit"                                       ng-model="patient.bodycheck.isDentizing" disabled="disabled">                                <span>补牙史</span>                            </label>                        </div>                    </td>                </tr>                <tr ng-show="patient.sex==2">                    <td>                        <span class="notes-title">怀孕：</span>                        <span class="notes-value" ng-hide="infoExamination.isEdit">                            {{ patient.bodycheck.isPregnant | toBoolString }}                        </span>                        <div class="notes-value" ng-show="infoExamination.isEdit">                            <label class="notes-value-item radio-item" for="PreYes">                                <input type="radio" name="IsPregnant"                                       id="PreYes" ng-click="setPregnant(true)"                                       ng-checked="patient.bodycheck.isPregnant">                                <span>是</span>                            </label>                            <label class="notes-value-item radio-item" for="PreNo">                                <input type="radio" name="IsPregnant"                                       id="PreNo" ng-click="setPregnant(false)"                                       ng-checked="!patient.bodycheck.isPregnant">                                <span>否</span>                            </label>                        </div>                    </td>                    <td>                        <span class="notes-title">孕龄：</span>                        <div class="notes-value">                            <span class="notes-value-item" ng-hide="infoExamination.isEdit">{{ patient.bodycheck.gestationalAge }}</span>                            <div class="notes-value-item" ng-show="infoExamination.isEdit">                                <select id="GestationalAge" class="not-ignore form-control"                                        style="width:80px;" ng-model="patient.bodycheck.gestationalAge">                                    <option value="0">0</option>                                    <option value="1">1</option>                                    <option value="2">2</option>                                    <option value="3">3</option>                                    <option value="4">4</option>                                    <option value="5">5</option>                                    <option value="6">6</option>                                    <option value="7">7</option>                                    <option value="8">8</option>                                    <option value="9">9</option>                                    <option value="10">10</option>                                    <option value="11">11</option>                                    <option value="12">12</option>                                    <option value="13">13</option>                                    <option value="14">14</option>                                    <option value="15">15</option>                                    <option value="16">16</option>                                    <option value="17">17</option>                                    <option value="18">18</option>                                    <option value="19">19</option>                                    <option value="20">20</option>                                    <option value="21">21</option>                                    <option value="22">22</option>                                    <option value="23">23</option>                                    <option value="24">24</option>                                    <option value="25">25</option>                                    <option value="26">26</option>                                    <option value="27">27</option>                                    <option value="28">28</option>                                    <option value="29">29</option>                                    <option value="30">30</option>                                    <option value="31">31</option>                                    <option value="32">32</option>                                    <option value="33">33</option>                                    <option value="34">34</option>                                    <option value="35">35</option>                                    <option value="36">36</option>                                    <option value="37">37</option>                                    <option value="38">38</option>                                    <option value="39">39</option>                                    <option value="40">40</option>                                </select>                            </div>                            <span class="notes-value-item"                                  ng-show="patient.bodycheck.gestationalAge || infoExamination.isEdit">周</span>                        </div>                    </td>                    <td>                        <span class="notes-title">哺乳：</span>                        <span class="notes-value" ng-hide="infoExamination.isEdit">                            {{ patient.bodycheck.isLactation | toBoolString }}                        </span>                        <div class="notes-value" ng-show="infoExamination.isEdit">                            <label class="notes-value-item radio-item" for="BuYes">                                <input type="radio" name="IsLactation"                                       id="BuYes" ng-click="setLac(true)"                                       ng-checked="patient.bodycheck.isLactation">                                <span>是</span>                            </label>                            <label class="notes-value-item radio-item" for="BuNo">                                <input type="radio" name="IsLactation"                                       id="BuNo" ng-click="setLac(false)"                                       ng-checked="!patient.bodycheck.isLactation">                                <span>否</span>                            </label>                        </div>                    </td>                </tr>            </table>        </div>    </div>    <div class="edit-action-wrap" ng-show="infoExamination.isEdit">        <button class="btn btn-primary" ng-click="onSaveExamination()">确认</button>        <button class="btn btn-default" ng-click="onCleanBlockEditing(\'infoExamination\')">取消</button>    </div></div>');templateCache.put('/app/patient/components/patient-info-extend/patient-info-extend-view.html','<div class="sub-panel" id="">    <div class="sub-panel-heading">        <div class="pull-left">            <span class="sub-panel-heading-title">患者信息</span>        </div>    </div>    <div class="sub-panel-body">        <table class="patient-info-record-form-table" ng-class="infoBase.isEdit?\'form-block-edit\':\'\'">            <tr>                <td>                    <span class="notes-title">                        患者来源：<b class="required-red" ng-show="isEditRequiredField(\'sourceType\',\'infoBase\')">*</b>                    </span>                    <span class="notes-value" ng-hide="infoBase.isEdit">                        <span class="notes-value-item">{{ patient.sourceTypeLevel1 }}</span>                        <span class="notes-value-item" ng-show="patient.sourceType"> | {{ patient.sourceType }}</span>                        <span class="notes-value-item" ng-show="patient.refereeName"> | {{ patient.refereeName }}</span>                    </span>                    <div class="notes-value" ng-show="infoBase.isEdit" style="width:calc(100% - 90px);">                        <patient-info-source-view source-type-category="patient.sourceTypeLevel1"                                                  source-type="patient.sourceType"                                                  referee-name="patient.refereeName"></patient-info-source-view>                    </div>                </td>            </tr>            <tr>                <td>                    <span class="notes-title">                        患者标签：<b class="required-red" ng-show="isEditRequiredField(\'tags\',\'infoBase\')">*</b>                    </span>                    <div class="notes-value" style="width:calc(100% - 90px);">                        <div class="notes-value-item" id="patient-used-tags" tabindex="0">                            <span class="paitent-tag" ng-repeat="tag in patient.patientTagUseList"                                  ng-class="tag.isHidden?\'paitent-square-tag\':\'paitent-circle-tag\'"                                  ng-style="{\'background-color\':tag.itemValue, \'color\': tag.textColor}">                                {{ tag.abbreviation }}                            </span>                        </div>                        <div class="pull-right" ng-show="infoBase.isEdit">                            <button type="button" class="btn btn-default btn-icon" ares-authorize="managementCenter.tagCenter"                                    ares-config-click="editPatientTag()" ng-show="allowEditTagSetting()">                                <span class="glyphicon glyphicon-cog"></span>                            </button>                        </div>                    </div>                </td>            </tr>            <tr ng-show="infoBase.isEdit">                <td colspan="2">                    <patient-info-tag-view></patient-info-tag-view>                </td>            </tr>            <tr>                <td>                    <span class="notes-title">推荐人数：</span>                    <span class="notes-value minor-size">{{ refereeCount }} 人</span>                    <div class="notes-value">                        <span class="notes-value-item btn-icon"                              data-toggle="tooltip" data-placement="top" data-original-title="查看被推荐人"                              ng-click="showReferee()" ares-not-archive>                            <span class="glyphicon glyphicon-eye-open"></span>                        </span>                    </div>                </td>            </tr>        </table>    </div></div>');templateCache.put('/app/patient/components/patient-info-extra-source-block/patient-info-extra-source-block-view.html','<div id="patient-info-extra-source-wrap" class="patient-info-record-edit-block">    <style scoped>        #patient-info-extra-source-wrap tr td {            width: auto;        }        .show-referrer-readonly {            width: 550px;            text-overflow: ellipsis;            white-space: nowrap;            overflow: hidden;            padding-right: 5px !important;        }            .show-referrer-readonly .span-title {                text-overflow: ellipsis;                white-space: nowrap;                overflow: hidden;                padding-right: 5px !important;            }        #patient-info-extra-source-wrap .title-empty {            color: #9397a2;        }        #patient-info-extra-source-wrap .line-empty {            color: #e4e5e7;        }    </style>    <div class="panel panel-default">        <div class="panel-heading">            <div class="pull-left panel-heading-description">                <span class="panel-heading-title">推荐人</span>            </div>            <div class="pull-right panel-heading-action" ng-hide="isViewPatientInfo">                <button class="btn btn-primary" ng-show="!infoPatientExtraSource.isEdit"                        ares-authorize="patientMgmt.edit" ares-not-archive                        ng-click="onBlockEditing(\'infoPatientExtraSource\')">                    编辑                </button>            </div>        </div>        <div class="panel-body">            <table class="patient-info-record-form-table" ng-class="infoPatientExtraSource.isEdit?\'form-block-edit\':\'\'">                <tr ng-repeat="patientExtraSource in patient.patientExtraSources">                    <td>                        <span class="notes-title">                            推荐人{{$index+1}}：                        </span>                        <span class="notes-value show-referrer-readonly" ng-hide="infoPatientExtraSource.isEdit">                            <span class="span-title" ng-class="patientExtraSource.level1?\'\':\'title-empty\'">                                {{patientExtraSource.level1||"暂无部门"}}                                <span style="padding:0 5px 0 5px;" ng-class="patientExtraSource.level1?\'\':\'title-empty\'">|</span>                            </span>                            <span class="span-title" ng-class="patientExtraSource.level2?\'\':\'title-empty\'">                                {{patientExtraSource.level2||"暂无姓名"}}                                <span style="padding:0 5px 0 5px;" ng-class="patientExtraSource.note?\'\':\'title-empty\'">|</span>                            </span>                            <span class="span-title" ng-class="patientExtraSource.note?\'\':\'title-empty\'">                                {{patientExtraSource.note||"暂无备注"}}                            </span>                        </span>                        <div class="notes-value" ng-show="infoPatientExtraSource.isEdit" style="min-width:180px;">                            <base-drop-down-list-view style="width:170px;"                                                      bind-data-source="departments"                                                      bind-value-field="patientExtraSource.level1"                                                      value-field=\'itemName\'                                                      text-field=\'itemName\'                                                      filter="contains"                                                      placeholder="请选择部门">                            </base-drop-down-list-view>                        </div>                        <div class="notes-value" ng-show="infoPatientExtraSource.isEdit"  style="min-width:180px;">                            <input class="form-control" style="width:170px;" ng-model="patientExtraSource.level2" placeholder="请填写姓名" />                        </div>                        <div class="notes-value" style="min-width:320px" ng-show="infoPatientExtraSource.isEdit">                            <input class="form-control" style="width:310px;" ng-model="patientExtraSource.note" placeholder="请填写备注" />                        </div>                        <span class="notes-title">                            添加时间：                        </span>                        <span class="notes-value" ng-hide="infoPatientExtraSource.isEdit" ng-class="patientExtraSource.logTime?\'\':\'title-empty\'">{{(patientExtraSource.logTime|toLongDateMMString)||"暂无"}}</span>                        <div class="notes-value" style="min-width:160px" ng-show="infoPatientExtraSource.isEdit">                            <input class="form-control" ng-disabled="true" style="width:150px;" value="{{patientExtraSource.logTime|toLongDateMMString}}" />                        </div>                    </td>                </tr>            </table>            <a  ares-config-click="editDeapartment()" ng-show="infoPatientExtraSource.isEdit">                <span>编辑部门</span>            </a>        </div>    </div>    <div class="edit-action-wrap" ng-show="infoPatientExtraSource.isEdit">        <button class="btn btn-primary" ng-click="onSavePatientExtraSource(\'infoPatientExtraSource\')">确认</button>        <button class="btn btn-default" ng-click="onCleanBlockEditing(\'infoPatientExtraSource\')">取消</button>    </div></div>');templateCache.put('/app/patient/components/patient-info-first-visit-block/patient-info-first-visit-block-view.html','<div id="patient-info-first-visit-wrap" class="patient-info-record-edit-block">    <div class="panel panel-default">        <div class="panel-heading">            <div class="pull-left panel-heading-description">                <span class="panel-heading-title">初诊信息</span>            </div>            <div class="pull-right panel-heading-action" ng-hide="isViewPatientInfo">                <button class="btn btn-primary" ng-click="onBlockEditing(\'infoFirstVisit\')"                        ares-authorize="patientMgmt.editFirstVisit" ares-not-archive                        ng-show="!infoFirstVisit.isEdit">                    编辑                </button>            </div>        </div>        <div class="panel-body">            <table class="patient-info-record-form-table" ng-class="infoFirstVisit.isEdit?\'form-block-edit\':\'\'">                <tr>                    <td>                        <span class="notes-title">                            日期：<b class="required-red" ng-show="isEditRequiredField(\'firstVisit\',\'infoFirstVisit\')">*</b>                        </span>                        <span class="notes-value" ng-hide="infoFirstVisit.isEdit">{{patient.firstVisit|toDateString}}</span>                        <div class="notes-value" ng-show="infoFirstVisit.isEdit">                            <input kendo-date-picker id="firstVisit"                                   name="firstVisitDate" ng-model="patient.firstVisit"                                   k-on-change="onChangeFirstVisit(kendoEvent)"                                   placeholder="年-月-日" k-options="firstVisitDatePickerOptions"                                   style="width: 220px;" />                        </div>                    </td>                    <td colspan="2">                        <span class="notes-title">                            初诊医生：<b class="required-red" ng-show="isEditRequiredField(\'doctorId\',\'infoFirstVisit\')">*</b>                        </span>                        <span class="notes-value" ng-hide="infoFirstVisit.isEdit">{{patient.doctorName}}</span>                        <div class="notes-value" ng-show="infoFirstVisit.isEdit">                            <base-drop-down-list-view id="doctorId"                                                      style="width: 220px;"                                                      bind-data-source="doctors"                                                      placeholder="未指定初诊医生"                                                      bind-text-field="\'patient.doctorName\'"                                                      bind-value-field="patient.doctorId">                            </base-drop-down-list-view>                        </div>                    </td>                </tr>                <tr>                    <td colspan="3">                        <span class="notes-title">主诉：</span>                        <p class="notes-value" ng-hide="infoFirstVisit.isEdit">{{ patient.bodycheck.chiefComplaint }}</p>                        <div class="notes-value" ng-show="infoFirstVisit.isEdit">                            <textarea class="form-control" id="chiefComplaint" style="width:800px;max-width:800px;"                                      maxlength="512"                                      name="chiefComplaint" rows="2" ng-model="patient.bodycheck.chiefComplaint"                                      placeholder="请输入主诉" ares-authorize="patientMgmt.editFirstVisit"></textarea>                        </div>                    </td>                </tr>                <tr>                    <td colspan="3">                        <span class="notes-title">症状：</span>                        <p class="notes-value" ng-hide="infoFirstVisit.isEdit">{{ patient.bodycheck.symptom }}</p>                        <div class="notes-value" ng-show="infoFirstVisit.isEdit">                            <textarea class="form-control" id="chiefComplaint" style="width:800px;max-width:800px;"                                      maxlength="512"                                      name="chiefComplaint" rows="2" ng-model="patient.bodycheck.symptom"                                      placeholder="请输入症状" ares-authorize="patientMgmt.editFirstVisit"></textarea>                        </div>                    </td>                </tr>                <tr>                    <td colspan="3">                        <span class="notes-title">初步判断：</span>                        <p class="notes-value" ng-hide="infoFirstVisit.isEdit">{{ patient.bodycheck.roughlyEvaluate }}</p>                        <div class="notes-value" ng-show="infoFirstVisit.isEdit">                            <textarea class="form-control" id="chiefComplaint" style="width:800px;max-width:800px;"                                      maxlength="512"                                      name="chiefComplaint" rows="2" ng-model="patient.bodycheck.roughlyEvaluate"                                      placeholder="请输入初步判断" ares-authorize="patientMgmt.editFirstVisit"></textarea>                        </div>                    </td>                </tr>                <tr>                    <td></td>                    <td></td>                    <td></td>                </tr>            </table>        </div>    </div>    <div class="edit-action-wrap" ng-show="infoFirstVisit.isEdit">        <button class="btn btn-primary" ng-click="onSaveBodycheck(\'infoFirstVisit\')">确认</button>        <button class="btn btn-default" ng-click="onCleanBlockEditing(\'infoFirstVisit\')">取消</button>    </div></div>');templateCache.put('/app/patient/components/patient-info-new-relation/patient-info-new-relation-view.html','<div class="sub-panel" id="">    <div class="sub-panel-heading">        <div class="pull-left">            <span class="sub-panel-heading-title">患者关系</span>        </div>        <div class="pull-right">        </div>    </div>    <div class="sub-panel-body">        <new-patient-relation-view></new-patient-relation-view>    </div></div>');templateCache.put('/app/patient/components/patient-info-person/patient-info-person-view.html','<div class="sub-panel" id="">    <div class="sub-panel-heading">        <div class="pull-left">            <span class="sub-panel-heading-title">个人信息</span>        </div>    </div>    <div class="sub-panel-body">        <table class="patient-info-record-form-table" ng-class="infoBase.isEdit?\'form-block-edit\':\'\'">            <tr>                <td>                    <span class="notes-title">                        姓名：<b class="required-red" ng-show="infoBase.isEdit">*</b>                    </span>                    <span class="notes-value" ng-show="!infoBase.isEdit">{{patient.name}}</span>                    <div ng-show="infoBase.isEdit" class="notes-value">                        <input class="form-control" id="patientName" name="patientName"                               placeholder="请输入" maxlength="40"                               ng-model="patient.name" ng-required="true"                               ng-disabled="isPatientExisted" ng-style="{\'width\':isReadIdentityCardEnabled?\'75%\':\'100%\'}"/>                        <button type="button" class="btn btn-default btn-identity-info2" ng-show="isReadIdentityCardEnabled"                            ng-click="readIdentityInfo()" title="读取身份证信息">                            <span class="iconfont icon-shenfenzheng"></span>                        </button>                                                   </div>                </td>                <td>                    <span class="notes-title">                        患者类型：<b class="required-red" ng-show="infoBase.isEdit">*</b>                    </span>                    <div class="notes-value" id="patientType">                        <span class="notes-value-item">{{patient.patientType}}</span>                        <button type="button" class="btn btn-primary btn-xs"                                ng-click="changePatientType()" ares-not-archive                                ng-if="!isGroup&&patient.isPatientTypeChangable" style="margin-left:10px;">                            转换类型                        </button>                    </div>                </td>                <td rowspan="8" style="font-size:14px;">                    <patient-image-view patient="patient"                                        picture="picture"                                        enable-edit="true"                                        is-view-model="isViewPatientInfo"                                        enable-take-photo="true">                    </patient-image-view>                </td>            </tr>            <tr>                <td>                    <span class="notes-title">                        病历号：<b class="required-red" ng-show="infoBase.isEdit">*</b>                    </span>                    <span class="notes-value" ng-show="!infoBase.isEdit">{{patient.privateId}}</span>                    <div ng-show="infoBase.isEdit" class="notes-value">                        <input class="form-control" id="privateId" ng-disabled="infoBase.isEdit"                               maxlength="30"                               placeholder="请输入" ng-model="patient.privateId" style="width: 140px;" />                        <button type="button" class="btn btn-default btn-icon"                                ng-if="isPrivateIdEditable" ng-click="editPrivateId($event)"                                title="修改病历号">                            <span class="glyphicon glyphicon-pencil"></span>                        </button>                        <button type="button" class="btn btn-default btn-icon"                                ng-if="isPrivateIdRuleEditable" ares-config-click="editPrivateIdRule($event)"                                title="修改病历号规则">                            <span class="glyphicon glyphicon-cog"></span>                        </button>                    </div>                </td>                <td>                    <span class="notes-title">其他病历号：</span>                    <span class="notes-value" ng-show="!infoBase.isEdit">{{patient.otherPrivateId}}</span>                    <div ng-show="infoBase.isEdit" class="notes-value">                        <input class="form-control" id="otherPrivateId"                               placeholder="请输入" maxlength="30"                               name="otherPrivateId" ng-model="patient.otherPrivateId" />                    </div>                </td>            </tr>            <tr>                <td>                    <span class="notes-title">                        生日：<b class="required-red" ng-show="isEditRequiredField(\'birthDay\',\'infoBase\')">*</b>                    </span>                    <span class="notes-value" ng-show="!infoBase.isEdit">{{patient.birth | toDateString}}</span>                    <div ng-show="infoBase.isEdit" class="notes-value enyo">                        <input kendo-date-picker ng-model="patient.birth" id="birthDay"                               placeholder="年-月-日" style="width:120px;"                               k-on-change="onChangeBirth(kendoEvent)"                               k-options="birthDatePickerOptions" />                        &nbsp;&nbsp;<input id="notSureBirthCK" type="checkbox" name="notSureBirthInput" class="enyo-checkbox" ng-checked="patient.brithType==2" ng-click="onNotSureBirthClick()">                        <label class="enyo-checkbox-label" style="line-height: 16px;font-size: 14px;font-weight: normal;" for="notSureBirthCK">生日未知</label>                    </div>                </td>                <td>                    <span class="notes-title">                        年龄：<b class="required-red" ng-show="isEditRequiredField(\'age\',\'infoBase\')">*</b>                    </span>                    <span class="notes-value" ng-show="!infoBase.isEdit">{{patient.birth | toAgeMonthString : patient}}</span>                    <div ng-show="infoBase.isEdit" class="notes-value">                        <input id="age" kendo-numeric-text-box                               ng-model="age" style="width:100px;"                               k-options="{placeholder:\'请输入\',min:0,max:150,spinners:false,format:\'#\'}"                               k-on-change="onChangeAge($event)" />                        <label style="font-weight:bold;margin:0;">&nbsp;&nbsp;岁{{patient.birth | toAgeOptionalMonthString : patient}}</label>                    </div>                </td>            </tr>            <tr>                <td>                    <span class="notes-title">                        性别：<b class="required-red" ng-show="isEditRequiredField(\'sex\',\'infoBase\')">*</b>                    </span>                    <span class="notes-value" ng-show="!infoBase.isEdit">{{patient.sex | toSexString}}</span>                    <div ng-show="infoBase.isEdit" class="notes-value" id="sex">                        <label class="notes-value-item radio-item" for="sex">                            <input type="radio" name="sexRadios" id="sex"                                   value="1" ng-click="setSex(1)" ng-checked="patient.sex==1">                            <span>男</span>                        </label>                        <label class="notes-value-item radio-item" for="female">                            <input type="radio" name="sexRadios" id="female"                                   value="2" ng-click="setSex(2)" ng-checked="patient.sex==2">                            <span>女</span>                        </label>                        <label class="notes-value-item radio-item" for="unknownSex">                            <input type="radio" name="sexRadios" id="unknownSex"                                   value="3" checked ng-click="setSex(0)" ng-checked="patient.sex==0">                            <span>未知</span>                        </label>                    </div>                </td>                <td>                    <span class="notes-title">                        昵称：<b class="required-red" ng-show="isEditRequiredField(\'nickName\',\'infoBase\')">*</b>                    </span>                    <span class="notes-value" ng-show="!infoBase.isEdit">{{patient.nickName}}</span>                    <div ng-show="infoBase.isEdit" class="notes-value">                        <input class="form-control" id="nickName"                               placeholder="请输入" maxlength="30"                               name="nickName" ng-model="patient.nickName" />                    </div>                </td>            </tr>            <tr>                <td>                    <span class="notes-title">                        国籍：<b class="required-red" ng-show="isEditRequiredField(\'nationality\',\'infoBase\')">*</b>                    </span>                    <span class="notes-value" ng-show="!infoBase.isEdit">{{patient.nationality}}</span>                    <div ng-show="infoBase.isEdit" class="notes-value">                        <input name="nationality" id="nationality"                               ng-model="patient.nationality" style="width:180px;" />                        <button type="button" class="btn btn-default btn-icon"                                ares-config-click="editNationality()"                                ares-disable-when-parent="PatientInfo">                            <span class="glyphicon glyphicon-cog"></span>                        </button>                    </div>                </td>                <td>                    <span class="notes-title">                        身份证号：<b class="required-red" ng-show="isEditRequiredField(\'identityCard\',\'infoBase\') && !isNonage">*</b>                    </span>                    <span class="notes-value" ng-show="!infoBase.isEdit">{{patient.identityCard}}</span>                    <div ng-show="infoBase.isEdit" class="notes-value">                        <input class="form-control" id="identityCard"                               placeholder="请输入" maxlength="30"                               name="identityCard" ng-model="patient.identityCard" />                    </div>                </td>            </tr>            <tr>                <td>                    <span class="notes-title">                        发证机关：<b class="required-red" ng-show="isEditRequiredField(\'idCardIssuer\',\'infoBase\')">*</b>                    </span>                    <span class="notes-value" ng-show="!infoBase.isEdit">{{patient.extension.idCardIssuer}}</span>                    <div ng-show="infoBase.isEdit" class="notes-value">                        <input class="form-control" id="idCardIssuer" name="idCardIssuer"                               placeholder="请输入" maxlength="60"                               ng-model="patient.extension.idCardIssuer" />                    </div>                </td>                <td>                    <span class="notes-title">                        有效期：<b class="required-red" ng-show="isEditRequiredField(\'idCardValidTo\',\'infoBase\')">*</b>                    </span>                    <span class="notes-value" ng-show="!infoBase.isEdit">{{patient.extension.idCardValidTo | toDateString}}</span>                    <div ng-show="infoBase.isEdit" class="notes-value">                        <input kendo-date-picker ng-model="patient.extension.idCardValidTo" id="idCardValidTo"                               placeholder="年-月-日" style="width:220px;"                               k-options="datePickerOptions" />                    </div>                </td>            </tr>            <tr>                <td>                    <span class="notes-title">                        民族：<b class="required-red" ng-show="isEditRequiredField(\'nation\',\'infoBase\')">*</b>                    </span>                    <span class="notes-value" ng-show="!infoBase.isEdit">{{patient.extension.nation}}</span>                    <div ng-show="infoBase.isEdit" class="notes-value">                        <input class="form-control" id="nation"                               placeholder="请输入" maxlength="40"                               name="nation" ng-model="patient.extension.nation" />                    </div>                </td>                <td>                    <span class="notes-title">                        血型：<b class="required-red" ng-show="isEditRequiredField(\'bloodType\',\'infoBase\')">*</b>                    </span>                    <span class="notes-value" ng-show="!infoBase.isEdit">{{patient.extension.bloodType}}</span>                    <div ng-show="infoBase.isEdit" class="notes-value">                        <input class="form-control" id="bloodType"                               placeholder="请输入" maxlength="30"                               name="bloodType" ng-model="patient.extension.bloodType" />                    </div>                </td>            </tr>            <tr>                <td>                    <span class="notes-title">                        籍贯：<b class="required-red" ng-show="isEditRequiredField(\'nativePlace\',\'infoBase\')">*</b>                    </span>                    <span class="notes-value" ng-show="!infoBase.isEdit">{{patient.extension.nativePlace}}</span>                    <div ng-show="infoBase.isEdit" class="notes-value">                        <input class="form-control" id="nativePlace"                               placeholder="请输入" maxlength="40"                               name="nativePlace" ng-model="patient.extension.nativePlace" />                    </div>                </td>                <td>                    <span class="notes-title">                        婚姻：<b class="required-red" ng-show="isEditRequiredField(\'marriage\',\'infoBase\')">*</b>                    </span>                    <span class="notes-value" ng-show="!infoBase.isEdit">{{patient.extension.marriage | toMarriageString}}</span>                    <div ng-show="infoBase.isEdit" class="notes-value">                        <label class="notes-value-item radio-item" for="marriage">                            <input type="radio" name="marriageRadios" id="marriage"                                   value="1" ng-click="setMarriage(1)" ng-checked="patient.extension.marriage==1">                            <span>已婚</span>                        </label>                        <label class="notes-value-item radio-item" for="marriage1">                            <input type="radio" name="marriageRadios" id="marriage1"                                   value="2" ng-click="setMarriage(2)" ng-checked="patient.extension.marriage==2">                            <span>未婚</span>                        </label>                    </div>                </td>            </tr>            <tr>                <td>                    <span class="notes-title">                        职业：<b class="required-red" ng-show="isEditRequiredField(\'job\',\'infoBase\')">*</b>                    </span>                    <span class="notes-value" ng-show="!infoBase.isEdit">{{patient.extension.job}}</span>                    <div ng-show="infoBase.isEdit" class="notes-value">                        <input class="form-control" id="job"                               placeholder="请输入" maxlength="50"                               name="job" ng-model="patient.extension.job" />                    </div>                </td>                <td>                    <span class="notes-title">                        宗教信仰：<b class="required-red" ng-show="isEditRequiredField(\'religion\',\'infoBase\')">*</b>                    </span>                    <span class="notes-value" ng-show="!infoBase.isEdit">{{patient.extension.religion}}</span>                    <div ng-show="infoBase.isEdit" class="notes-value">                        <input class="form-control" id="religion"                               placeholder="请输入" maxlength="40"                               name="religion" ng-model="patient.extension.religion" />                    </div>                </td>            </tr>            <tr>                <td>                    <span class="notes-title">                        其他证件：<b class="required-red" ng-show="isEditRequiredField(\'passportNo\',\'infoBase\')">*</b>                    </span>                    <span class="notes-value" ng-show="!infoBase.isEdit" ng-if="patient.extension.passportNo">{{patient.extension.passportType|toPassportTypeString}}（{{patient.extension.passportNo}}）</span>                    <div ng-show="infoBase.isEdit" class="notes-value">                        <select class="not-ignore" kendo-drop-down-list style="width:200px;" ng-model="patient.extension.passportType">                            <option value="0">护照</option>                            <option value="1">驾照</option>                            <option value="2">户口本</option>                            <option value="3">社保号</option>                            <option value="4">出生证</option>                            <option value="5">学生证</option>                            <option value="6">军官证</option>                            <option value="7">士兵证</option>                            <option value="8">港澳通行证</option>                            <option value="9">台湾通行证</option>                            <option value="10">港澳台同胞证</option>                            <option value="11">港澳台居民居住证</option>                            <option value="12">外国人永久居留身份证</option>                            <option value="99">其它</option>                        </select>                        <br />                        <input class="form-control" id="passportNo"                               placeholder="请输入" maxlength="60"                               name="passportNo" ng-model="patient.extension.passportNo" />                    </div>                </td>                <td colspan="2">                    <span class="notes-title">                        医保卡号：                    </span>                    <span class="notes-value" ng-show="!infoBase.isEdit">{{patient.extension.yibaoAccountNo}}</span>                    <div ng-show="infoBase.isEdit" class="notes-value">                        <input class="form-control" id="yibaoAccountNo"                               placeholder="请输入" maxlength="60"                               name="passportNo" ng-model="patient.extension.yibaoAccountNo" />                    </div>                </td>            </tr>            <tr>                <td colspan="3">                    <span class="notes-title">                        文化程度：<b class="required-red" ng-show="isEditRequiredField(\'educationLevel\',\'infoBase\')">*</b>                    </span>                    <span class="notes-value" ng-show="!infoBase.isEdit">{{patient.extension.educationLevel | toEducationLevelString}}</span>                    <div ng-show="infoBase.isEdit" class="notes-value">                        <label ng-repeat="level in educationLevels"                               class="notes-value-item radio-item" for="educationLevel{{$index==0?\'\':$index}}">                            <input type="radio" name="educationLevelRadios" id="educationLevel{{$index==0?\'\':$index}}"                                   value="{{level.value}}" ng-click="setEducationLevel(level.value)"                                   ng-checked="patient.extension.educationLevel==level.value">                            <span>{{level.name}}</span>                        </label>                    </div>                </td>            </tr>            <tr>                <td colspan="3">                    <span class="notes-title">                        患者备注：<b class="required-red" ng-show="isEditRequiredField(\'notes\',\'infoBase\')">*</b>                    </span>                    <p class="notes-value" ng-show="!infoBase.isEdit">                        {{patient.notes}}                    </p>                    <div ng-show="infoBase.isEdit" class="notes-value">                        <textarea class="form-control" style="width:555px;max-width:555px;"                                  placeholder="请输入" id="notes" maxlength="2000"                                  name="notes" rows="2" ng-model="patient.notes"></textarea>                    </div>                </td>            </tr>        </table>    </div></div>');templateCache.put('/app/patient/components/patient-info-record-action/patient-info-record-action-view.html','<div class="patient-info-record-action-wrap">    <style>        .patient-info-record-action-wrap {            text-align: right;            padding: 15px 0 10px 0;        }    </style>    <button class="btn btn-default" ng-click="printBarcode()" ares-authorize="patientMgmt.patientChangeLog">打印标签</button>    <button class="btn btn-default" ng-click="showPatientChangeLog()" ares-authorize="patientMgmt.patientChangeLog">查看日志</button>    <div ng-if="!patient.isInactive" style="display:inline-block"         ares-authorize="patientCenter.deletePatient">        <button class="btn btn-default"                ng-if="!patient.isArchived"                ng-show="!isViewPatientInfo"                ng-click="deletePatient()">            删除患者        </button>        <button class="btn btn-default"                ng-if="patient.isArchived"                ng-show="!isViewPatientInfo"                ng-click="undoArchive()">            解除归档        </button>    </div>    <patient-barcode-print-view patient-info="patient"></patient-barcode-print-view>    <patient-barcode-batch-print-view patient-info="patient"></patient-barcode-batch-print-view></div>');templateCache.put('/app/patient/components/patient-info-source/patient-info-source-view.html','<div class="" id="patient-source-wrap">    <style>        #patient-source-wrap {            position: relative;        }            #patient-source-wrap .patient-source-search-type {                height: 41px;            }                #patient-source-wrap .patient-source-search-type .patient-source-type .form-control {                    padding: 0;                }                #patient-source-wrap .patient-source-search-type .patient-source-type .iconsearchbtn {                    line-height: 22px;                }            #patient-source-wrap .patient-source-type-setting {                position: absolute;                top: 0;                right: 0;            }    </style>    <div class="">        <div class="notes-value-item">            <input id="parentSourceType" name="parentSourceType"                   ng-disabled="isEditSourceType" ng-model="patient.sourceTypeLevel1"                   style="width: 145px" />        </div>        <div ng-show="hasParentSource" class="notes-value-item">            <input id="sourceType" name="sourceType"                   ng-disabled="isEditSourceType" ng-model="patient.sourceType"                   style="width: 145px" />        </div>        <div class="notes-value-item" ng-show="enableReferee && hasParentSource">            <ares-patient-search on-patient-selected="onRefereeSelected" on-lost-focused="onLostFocused"                                 search-string="patient.refereeName" is-global-search="false"                                 is-disabled="isEditSourceType"                                 info-text-format="找到{0}个患者"></ares-patient-search>        </div>        <div class="notes-value-item" ng-show="enableProvider && hasParentSource">            <input id="provider" type="text"                   ng-disabled="isEditSourceType"                   style="width:145px;" />        </div>        <div ng-show="!enableReferee && !enableProvider && patient.sourceType && hasSourceType && hasParentSource"             class="notes-value-item">            <input id="otherSourceType"                   type="text" ng-disabled="isEditSourceType"                   style="width: 145px;" />        </div>    </div>    <div class="patient-source-search-type">        <ares-patient-source-type></ares-patient-source-type>    </div>    <div class="patient-source-type-setting">        <button type="button" class="btn btn-default btn-icon" ares-config-click="editSourceType()"               style="margin-left:0px;"  ares-authorize="patientMgmt.editSourceTypeConfig|patientMgmt.editSourceTypeL3Config">            <span class="glyphicon glyphicon-cog"></span>        </button>    </div></div>');templateCache.put('/app/patient/components/patient-info-tag/patient-info-tag-view.html','<div id="patient-tag-selector">    <style>        #patient-tag-selector {            width: 100%;        }            #patient-tag-selector table {                width: 100%;                border: 1px solid #e3e3e3;                border-radius: 4px;            }                #patient-tag-selector table tr {                    line-height: 50px;                }                    #patient-tag-selector table tr td:first-child {                        background-color: #f4f4f4;                        width: 6%;                    }            #patient-tag-selector span.tag-kind {                font-size: 14px;                padding-left: 20px;            }            #patient-tag-selector .tags-lst {                font-size: 14px;                margin-left: 20px;            }                #patient-tag-selector .tags-lst a {                    display: inline-block;                    height: 32px;                    line-height: 32px;                    border: 1px solid #e3e3e3;                    text-align: center;                    vertical-align: middle;                    padding-left: 20px;                    margin: 0 5px;                    border-radius: 16px;                    color: #666a73;                }                    #patient-tag-selector .tags-lst a.is-hidden {                        border-radius: 4px;                    }                #patient-tag-selector .tags-lst .tag-action {                    width:16px;                    height:30px;                    line-height:30px;                    display: inline-block;                    vertical-align:middle;                }                #patient-tag-selector .tags-lst .glyphicon.glyphicon-remove {                    color: #ffffff;                    display: none;                }                #patient-tag-selector .tags-lst a:hover span.glyphicon.glyphicon-remove {                    display: inline-block;                }    </style>    <table>        <tbody>            <tr style="border-bottom: 1px solid #e3e3e3;">                <td>                    <span class="tag-kind">显性标签</span>                </td>                <td>                    <div class="tags-lst">                        <a class="tag-item"                           id="tagSelect{{$index}}"                           title="{{tag.itemName}}"                           ng-repeat="tag in getPatientTags(false)"                           ng-mouseover="onMouseOver(tag,$event)"                           ng-mouseleave="onMouseLeave(tag,$event)"                           ng-click="onSelectPatientTag(tag)"                           sensors-enabled="true" sensors-event-name="PatientInfoTag" sensors-event-type="显性标签"                           ng-style="tag.selected? {\'background-color\':tag.itemValue,\'border-color\':tag.itemValue,\'color\':\'#ffffff\'}:{\'background-color\':\'#ffffff\',\'border-color\':\'#e3e3e3\'}">                            {{tag.itemName|maxStringLength:20}}                            <span class="tag-action">                                <span ng-if="tag.selected" class="glyphicon glyphicon-remove" ng-click="onRemovePatientTag(tag,$event)"></span>                            </span>                        </a>                    </div>                </td>            </tr>            <tr>                <td>                    <span class="tag-kind">隐性标签</span>                </td>                <td>                    <div class="tags-lst">                        <a class="is-hidden"                           title="{{tag.itemName}}"                           ng-repeat="tag in getPatientTags(true)"                           ng-mouseover="onMouseOver(tag,$event)"                           ng-mouseleave="onMouseLeave(tag,$event)"                           ng-click="onSelectPatientTag(tag)"                           sensors-enabled="true" sensors-event-name="PatientInfoTag" sensors-event-type="隐性标签"                           ng-style="tag.selected? {\'background-color\':tag.itemValue,\'border-color\':tag.itemValue,\'color\':\'#ffffff\'}:{\'background-color\':\'#ffffff\',\'border-color\':\'#e3e3e3\'}">                            {{tag.itemName|maxStringLength:20}}                            <span class="tag-action">                                <span ng-if="tag.selected" class="glyphicon glyphicon-remove" ng-click="onRemovePatientTag(tag,$event)"></span>                            </span>                        </a>                    </div>                </td>            </tr>        </tbody>    </table></div>');templateCache.put('/app/patient/components/patient-tag-color-selector/patient-tag-color-selector-view.html','<div class="patient-tag-color-selector">    <style>        .patient-tag-color-selector .color-selector1 {            display: inline-block;            width: 32px;            height: 32px;            line-height: 32px;            text-align: center;            vertical-align: middle;            color: #ffffff;            border-radius: 4px;        }        .patient-tag-color-selector .color-selector2 {            display: inline-block;            width: 32px;            height: 32px;            line-height: 32px;            text-align: center;            vertical-align: middle;            border: 1px solid #ffffff;            border-radius: 4px;        }            .patient-tag-color-selector .color-selector2.with-border {                border-color: #e3e3e3;            }        .patient-tag-color-selector .k-picker-wrap {            display: none;        }        .patient-tag-color-selector .cursor-pointer {            cursor: pointer;        }    </style>    <span class="color-selector1 glyphicon glyphicon-chevron-down"          ng-class="patientTag.isEditing? \'cursor-pointer\':\'\'"          ng-style="{\'background-color\':patientTag.itemValue}"          ng-click="selectColor1()"></span>    <div class="selector1" style="width: 0; height: 0; display: none;">        <input type="color"/>    </div>    <span class="color-selector2 glyphicon glyphicon-wrench"          ng-class="patientTag.isEditing? \'cursor-pointer with-border\':\'\'"          ng-click="selectColor2()"></span>    <div class="selector2" style="width: 0; height: 0; display: none;">        <input type="color" />    </div></div>');templateCache.put('/app/patient/components/patient-tags-manage-block/patient-tags-manage-block-view.html','<div id="patient-tags-manage-block">    <style>        #patient-tags-manage-block {        }            #patient-tags-manage-block .management-actions {                line-height: 40px;                text-align: right;                vertical-align: middle;                margin-bottom: 7px;            }            #patient-tags-manage-block table {                padding: 0;                width: 100%;                border: 1px solid #e3e3e3;            }                #patient-tags-manage-block table thead tr {                    line-height: 42px;                    font-size: 14px;                    vertical-align: middle;                    background-color: #ebebeb;                }                    #patient-tags-manage-block table thead tr th {                        font-weight: normal;                        text-align: center;                    }                #patient-tags-manage-block table tbody tr {                    height: 42px;                }                    #patient-tags-manage-block table tbody tr td {                        border-bottom: 1px solid #e3e3e3;                        padding: 0 1%;                        text-align: center;                    }            #patient-tags-manage-block .tag-preview {                width: 20px;                height: 20px;                text-align: center;                line-height: 20px;                vertical-align: middle;                border-radius: 50%;                color: #ffffff;                display: inline-block;            }                #patient-tags-manage-block .tag-preview.is-hidden {                    border-radius: 2px;                }            #patient-tags-manage-block .tag-icon {                display: inline-block;                background-image: url(/Content/imgs/icon-approval.png);                background-size: 40px 140px;                width: 20px;                height: 20px;            }                #patient-tags-manage-block .tag-icon:hover {                    background-position-x: -20px;                }                #patient-tags-manage-block .tag-icon.edit {                    background-position-y: -100px;                }            #patient-tags-manage-block .tag-btn {                display: inline-block;                background-image: url(/Content/imgs/btn-confirm.png);                background-size: 48px 48px;                width: 24px;                height: 24px;            }                #patient-tags-manage-block .tag-btn:hover {                    background-position-x: -24px;                }                #patient-tags-manage-block .tag-btn.confirm {                }                #patient-tags-manage-block .tag-btn.cancel {                    background-position-y: -24px;                }            #patient-tags-manage-block .color-selector {                display: inline-block;                width: 32px;                height: 32px;                line-height: 32px;                text-align: center;                vertical-align: middle;                /*background-color: #f6a623;*/                color: #ffffff;                border-radius: 4px;            }            #patient-tags-manage-block .color-config {                display: inline-block;                width: 32px;                height: 32px;                line-height: 32px;                text-align: center;                vertical-align: middle;            }                #patient-tags-manage-block .color-config.with-border {                    border: 1px solid #e3e3e3;                    border-radius: 4px;                }            #patient-tags-manage-block input[type=checkbox] {                width: 18px;                height: 18px;                vertical-align: middle;                margin: 0;                cursor: pointer;            }    </style>    <div class="management-actions">        <button class="btn btn-default" ng-click="onAddPatientTag()" ares-hide-if-not-root><span class="glyphicon glyphicon-plus"></span>新增</button>    </div>    <div id="patient-tags-list">        <div style="padding-right: 10px;">            <table>                <thead>                    <tr>                        <th width="10%"><input type="checkbox" style="margin-left: 18%;" ng-model="allEnabled" ng-click="enableOrDisableAll()"  ares-disable-if-not-root/>启用</th>                        <th width="20%">名称</th>                        <th width="20%">属性</th>                        <th width="15%">颜色</th>                        <th width="10%">缩写</th>                        <th width="10%">预览</th>                        <th width="15%" ares-hide-if-not-root>操作</th>                    </tr>                </thead>            </table>        </div>        <div style="overflow-x: auto; overflow-y: scroll; height: 337px;" id="list-body">            <table>                <tbody>                    <tr ng-repeat="tag in patientTags">                        <td width="10%" style="text-align: left;"><input type="checkbox" style="margin-left: 25%;" ng-checked="!tag.isInactive" ng-click="onEnableOrDisableClick(tag)" ares-disable-if-not-root/></td>                        <td width="20%" style="text-align: left; word-wrap: break-word; word-break: break-all; ">                            <span class="ares-show">{{tag.itemName}}</span>                            <input type="text" class="form-control ares-edit" style="display:none;" ng-model="tag.copy.itemName" ng-change="onTagNameChanged(tag)" />                        </td>                        <td width="20%">                            <span class="ares-show">{{tag.isHiddenStr}}</span>                            <select class="ares-edit form-control" style="display: none;" ng-model="tag.copy.isHiddenStr"                                    ng-change="onHiddenChanged(tag.copy)">                                <option>显性</option>                                <option>隐性</option>                            </select>                        </td>                        <td width="15%">                            <patient-tag-color-selector-view patient-tag="tag.isEditing? tag.copy:tag"                                                             is-editing="tag.isEditing"></patient-tag-color-selector-view>                        </td>                        <td width="10%">                            <span class="ares-show">{{tag.abbreviation}}</span>                            <input type="text" class="form-control ares-edit" ng-model="tag.copy.abbreviation" style="display:none;" maxlength="1" />                        </td>                        <td width="10%">                            <div ng-show="!tag.isEditing">                                <span ng-show="tag.isHidden" class="tag-preview is-hidden" ng-style="{\'background-color\':tag.itemValue,\'color\':tag.textColor}">                                    {{tag.abbreviation}}                                </span>                                <span ng-show="!tag.isHidden" class="tag-preview" ng-style="{\'background-color\':tag.itemValue,\'color\':tag.textColor}">                                    {{tag.abbreviation}}                                </span>                            </div>                            <div ng-show="tag.isEditing">                                <span ng-show="tag.copy.isHidden" class="tag-preview is-hidden" ng-style="{\'background-color\':tag.copy.itemValue, \'color\':tag.copy.textColor}">                                    {{tag.copy.abbreviation}}                                </span>                                <span ng-show="!tag.copy.isHidden" class="tag-preview" ng-style="{\'background-color\':tag.copy.itemValue, \'color\':tag.copy.textColor}">                                    {{tag.copy.abbreviation}}                                </span>                            </div>                        </td>                        <td width="15%" ares-hide-if-not-root>                            <a class="tag-icon edit" ng-show="!tag.isEditing" ng-click="onEditTag($event,tag)"></a>                            <a class="tag-btn confirm" ng-show="tag.isEditing" ng-click="onSaveTag($event,tag)"></a>                            <a class="tag-btn cancel" ng-show="tag.isEditing" ng-click="onCancelEdit($event,tag)"></a>                        </td>                    </tr>                </tbody>            </table>        </div>    </div></div>');templateCache.put('/app/patient/components/picture-host-edit/picture-host-edit-view.html','<div class="upload-file-wrapper">    <style scoped>        .upload-file-wrapper .picture-list li {            margin-top: 5px;            height: 28px;        }        .upload-file-wrapper .picture-list li .picture-item {            background-color: #fff;            margin-bottom: 5px;            padding: 5px;        }        .upload-file-wrapper .picture-list li .picture-item:hover {            background-color: #F5F5F5;        }        .upload-file-wrapper .picture-list li .type-name {            background-color: #00a6c9;            color: #fff;            padding: 1px 3px;            font-size: 12px;        }        .upload-file-wrapper .picture-list li .oper-btn {            padding: 0 20px;            cursor: pointer;            display: none;        }        .upload-file-wrapper .picture-list li .picture-item:hover .oper-btn {            display: inline-block;        }        .upload-file-wrapper .picture-list .picture-name {            cursor: pointer;            max-width: 300px;        }        .upload-file-wrapper .picture-list .picture-name a {            color: #2F2F2F;        }        .upload-file-wrapper .picture-list .picture-name:hover {            text-decoration: underline;        }    </style>    <div class="form-group" style="margin-bottom: 5px;">        <label style="margin-right: 6px;">            上传附件        </label>        <input id="pictureTag" name="pictureTag" style="width: 120px;display:inline-block;" class="form-control" ng-model="pictureTag" />        <span style="font-size: 12px;"><i class="iconfont icon-tixingzhuyi enyo-text-primary" style="margin-left: 10px;margin-right:5px;font-size: 12px;"></i>仅支持JPG/PNG/PDF格式文件，文件大小不超过10M。</span>        <div style="display:none;">            <ares-picture-view picture-id="{{pictureId}}" tags="{{tags}}" is-show-edit-button="true" on-picture-saved="updatePicture" width="200" height="120" is-full-picture="true" alt="上传图片" editable="false"></ares-picture-view>        </div>    </div>    <div class="form-group" style="margin-bottom: 5px;">        <div class="picture-list" style="margin-left: 60px;">            <ul>                <li ng-repeat="item in pictureList">                    <span class="picture-item">                    <span class="type-name">{{item.tags}}</span>                    <span class="picture-name enyo-single-line-text">                        <a href="/ImageContent/OssImg?ossImgUrl={{item.filePath}}" target="_blank" title="{{item.pictureName}}">{{item.pictureName}}</a>                    </span>                    <span class="oper-btn enyo-text-primary" ng-click="removeImg($index)">删除</span>                    </span>                </li>            </ul>        </div>    </div></div>');templateCache.put('/app/patient/components/product-auto-complete-selector/product-auto-complete-selector-view.html','<div class="enyo product-auto-complete-selector-view" style="position: relative;width:644px;">    <style scoped>        .k-animation-container .dropdown-select-head+div.k-group-header+div[unselectable="on"]::-webkit-scrollbar {            width: 3px;            height: 3px;            background-color: #F5F6F8;        }        .k-animation-container .dropdown-select-head+div.k-group-header+div[unselectable="on"]::-webkit-scrollbar {            width: 5px;            height: 8px;            background-color: #F5F6F8;        }        .k-animation-container .dropdown-select-head+div.k-group-header+div[unselectable="on"]::-webkit-scrollbar-track {            -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);            border-radius: 10px;            background-color: #F5F6F8;        }        .k-animation-container .dropdown-select-head+div.k-group-header+div[unselectable="on"]::-webkit-scrollbar-thumb {            border-radius: 10px;            -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);            background-color: #ccc;        }        .k-animation-container .k-popup.k-list-container .dropdown-select-head+div.k-group-header+div[unselectable=\'on\'] {            background-color: #fff        }        .k-animation-container .dropdown-select-head {            padding: 7px 0        }        .k-animation-container .k-popup.k-list-container .dropdown-select-head>span {            text-align: left        }        .k-animation-container .k-popup.k-list-container .dropdown-select-head+div.k-group-header+div[unselectable="on"] ul.k-list li.k-item {            border: 0;            padding: 0;            border-radius: 0;            color: #575d6a;            clear: both;            content: "";            display: table;            height: 36px;            font-size: 13px        }        .k-animation-container .k-popup.k-list-container .dropdown-select-head+div.k-group-header+div[unselectable="on"] ul.k-list li.k-item:nth-child(even) {            background-color: #f5f6f8        }        .k-animation-container .k-popup.k-list-container .dropdown-select-head+div.k-group-header+div[unselectable="on"] ul.k-list li.k-item:hover,        .k-animation-container .k-popup.k-list-container .dropdown-select-head+div.k-group-header+div[unselectable="on"] ul.k-list li.k-item.k-state-focused {            background-color: #e0faff;            color: #575d6a        }        .k-animation-container .k-popup .dropdown-select-head+div.k-group-header+div[unselectable="on"] .k-list .k-state-hover,        .k-animation-container .k-popup .dropdown-select-head+div.k-group-header+div[unselectable="on"] .k-list .k-state-focused,        .k-animation-container .k-popup .dropdown-select-head+div.k-group-header+div[unselectable="on"] .k-list .k-state-selected,        .k-animation-container .k-popup .dropdown-select-head+div.k-group-header+div[unselectable="on"] .k-list .k-item:focus,        .k-animation-container .k-popup .dropdown-select-head+div.k-group-header+div[unselectable="on"] .k-list .k-item:actived {            border: none        }        .k-animation-container .k-popup.k-list-container .dropdown-select-head+div.k-group-header+div[unselectable="on"] ul.k-list li.k-item .dropdown-select-text {            text-align: left;            display: -webkit-box;            -webkit-box-orient: vertical;            -webkit-line-clamp: 2;            overflow: hidden;            white-space: normal;            float: left;            height: 36px;            -webkit-box-pack: center;            line-height: 17px        }        .k-dropdown .k-input,        .k-dropdown .k-state-focused .k-input,        .k-menu .k-popup {            color: #575d6a        }    </style>    <div class="productItemSearch drop-down-search" style="float: left;">        <input style="width:644px; max-width: 100%;" ng-model-options="{debounce : 1000}" ng-click="focusAutoComplete()" />    </div>    <div class="btn-group" style="position: absolute; top: 0; margin-right: 0; right: 0;">        <div style="float: left; line-height: 32px; margin-right: 20px;cursor:pointer;">            <span style="vertical-align: baseline;">                <i class="iconfont icon-sousuo" style="vertical-align: baseline;"></i>            </span>        </div>    </div></div>');templateCache.put('/app/patient/components/product-supplier-dropdown/product-supplier-dropdown-popover.html','<div class="sku-supplier-price-popover-wrapper">    <style scoped>        .sku-supplier-price-popover-wrapper {            width: 280px;            text-align: center;            box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.20);        }        .sku-supplier-price-popover-wrapper .sku-supplier-price-popover-header tr {            background: #00A6C9;            color: #fff;            height: 32px;        }        .sku-supplier-price-popover-wrapper .product-supplier-popover-body-wrapper {            height: 168px;            overflow: hidden;            background-color: #fff;            border: 1px solid #00A6C9;            border-top: 0;        }        .sku-supplier-price-popover-wrapper .sku-supplier-price-popover-body {            margin-top: -1px;        }        .sku-supplier-price-popover-wrapper .sku-supplier-price-popover-body tr {            color: #575D6A;            height: 28px;            font-size: 13px;            cursor: pointer;        }        .sku-supplier-price-popover-wrapper .sku-supplier-price-popover-body tr:hover {            background: #D5E9FF;        }        .sku-supplier-price-popover-wrapper .supplier-dropdown-text {            overflow: hidden;            white-space: nowrap;            text-overflow: ellipsis;        }        .sku-supplier-price-popover-wrapper .sku-supplier-price-popover-body tr.active {            background: #008FAE;            color: #fff;        }        .sku-supplier-price-popover-wrapper .product-supplier-popover-search-input input {            border-color: #00A6C9;        }    </style>    <table class="sku-supplier-price-popover-header">        <thead>        <tr>            <td style="width: 205px; text-align: left; padding-left: 10px;">厂商</td>            <td style="width: 75px; padding-right: 10px;">报价</td>        </tr>        </thead>    </table>    <div class="product-supplier-popover-search-input">        <input type="text" placeholder="搜索厂商名称" class="form-control"               ng-model="editSupplierSearch.text" ng-change="onEditSupplierSearchTextChange()">    </div>    <div class="product-supplier-popover-body-wrapper">        <table class="sku-supplier-price-popover-body">            <tbody>            <tr ng-repeat="item in filteredProductSuppliers" ng-click="onDealerSelectedWrapper(item)"                ng-class="{\'active\': item.dealerName === selectedDealerName}">                <td style="width: 205px; text-align: left; padding-left: 10px;">                    <div style="width: 190px;" class="supplier-dropdown-text" title="{{item.supplier}}">                        {{item.dealerName}}                    </div>                </td>                <td style="width: 75px;">                    <div style="width: 65px;" class="supplier-dropdown-text" title="{{item.priceStr}}">                        {{item.priceStr}}                    </div>                </td>            </tr>            </tbody>        </table>    </div></div>');templateCache.put('/app/patient/components/product-supplier-dropdown/product-supplier-dropdown-view.html','<div class="product-supplier-dropdown-view">    <style>        .product-supplier-dropdown-view {            display: inline-block;        }        .product-supplier-dropdown-anchor {            color: #575d6a;        }        .product-supplier-dropdown-anchor.anchor-input {            width: 160px;            height: 32px;            border: 1px solid #d6d9df;            background: #fff;            display: inline-block;            vertical-align: middle;            line-height: 32px;            padding-left: 10px;            position: relative;        }        .product-supplier-dropdown-anchor.anchor-input:focus {            text-decoration: none;        }        .product-supplier-dropdown-anchor.anchor-input .dropdown-arrow {            position: absolute;            right: 10px;            top: 8px;        }    </style>    <a ares-popover class="product-supplier-dropdown-anchor btn icon-btn btn-xs btn-light-blue"       data-popover-placement="bottom"       data-template-url="/app/patient/components/product-supplier-dropdown/product-supplier-dropdown-popover.html"       on-show-popover="onShowSupplierPopover"       popover-auto-hide="true" popover-trigger=\'manual\' data-content-width="280"       ng-click="showSupplierPopover(product, $event)">        <span data-toggle="tooltip" data-placement="bottom" title="切换厂商"><i class="iconfont icon-zhuanhuan"></i></span>    </a></div>');templateCache.put('/app/patient/dialogs/patient-drug-order-workflow/patient-drug-order-workflow-view.html','<div ares-modal-dragable ares-clean-kendo">       <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="clean()">            <span aria-hidden="true">&times;</span>        </button>        <h4 class="modal-title">处方详情</h4>    </div>    <div class="modal-body ares-dialog-body" style="padding:0px 25px 20px 20px;margin-top:-21px;">        <div class="row" style="margin-top:20px;">                                <div class="panel-body">                        <div>                                <div class="form-group">                                    <label class="control-label" style="text-align:left;">就诊时间:</label>                                    <label class="" style="width:190px;">{{drugOrder.OrderDataTime|date:\'yyyy-MM-dd HH:mm:ss\'}}</label>                                    <label class="control-label" style="margin-right:10px">医生:</label>                                    <label class="" style="width:190px;">{{drugOrder.DoctorName}}</label>                                    </div>                            <div class="form-group">                                    <label class="control-label" style="text-align:left;">备注:</label>                                    <label class="" style="width:190px;">{{drugOrder.Comments}}</label>                                </div>                        </div>                        <div id="drugOrderDetailGrid"></div>                    </div>                        </div>    </div>    <div class="modal-footer ares-dialog-footer" style="text-align:center;">        <button type="button" class="btn btn-default" ng-click="clean()">关闭</button>    </div></div>');templateCache.put('/app/patient/dialogs/patient-plan-detail-edit/patient-plan-detail-edit-view.html','<div ares-modal-dragable ares-clean-kendo>    <style>        #mainForm input, select {            max-width: 200px;        }        #mainForm label {            font-weight: 400;            margin: 0;        }        #mainForm .control-group .form-group:last-child {            margin-bottom: 0;        }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">{{title}}</h4>    </div>    <div class="modal-body ares-dialog-body" style="padding:20px;">        <form id="mainForm" name="mainForm" class="form-horizontal">            <div class="control-group" ng-if="planType == \'discountPlan\'">                <div class="form-group">                    <label for="cardNumber" class="control-label col-sm-3">名称：</label>                    <input class="form-control" ng-model="detail.itemName" ng-disabled="true" />                </div>                <div class="form-group">                    <label for="membershipType" class="control-label col-sm-3">类型：</label>                    <input class="form-control" ng-model="detail.detailTypeStr" style="width:140px;" ng-disabled="true" />                </div>                <div class="form-group">                    <label for="membershipType" class="control-label col-sm-3">折扣：</label>                    <input class="form-control" ng-model="detail.discount" style="width:140px;" ng-disabled="true" />                </div>                <div class="form-group">                    <label for="membershipType" class="control-label col-sm-3">原价：</label>                    <input class="form-control" ng-model="detail.priceStr" style="width:140px;" ng-disabled="true" />                </div>                <div class="form-group">                    <label for="membershipType" class="control-label col-sm-3">折后价：</label>                    <input class="form-control" ng-model="detail.afterDiscountPriceStr" style="width:140px;" ng-disabled="true" />                </div>                <div class="form-group">                    <label for="membershipType" class="control-label col-sm-3">频率：</label>                    <input class="form-control" ng-model="detail.planFrequency" style="width:140px;" ng-disabled="true" />                </div>                <div class="form-group">                    <label for="membershipType" class="control-label col-sm-3">剩余数量：</label>                    <input style="width:80px;" ng-hide="detailplan.detailType==\'catagory\'"                           kendo-numeric-text-box k-min="0" k-max="9999" k-step="1"                           k-options="{format: \'#\'}"                            k-on-change="onRemainCountChange(kendoEvent,\'handle\',$index)"                           k-ng-model="detail.remainCount" class="not-ignore" />                    <!--<input class="form-control" ng-model="detail.remainCount" style="width:140px;" />-->                </div>            </div>            <div class="control-group" ng-if="planType == \'giftPlan\'">                <div class="form-group">                    <label for="cardNumber" class="control-label col-sm-3">处置名称：</label>                    <input class="form-control" ng-model="detail.itemName" ng-trim="false" ng-disabled="true" />                </div>                <div class="form-group">                    <label for="membershipType" class="control-label col-sm-3">赠送次数：</label>                    <input class="form-control" ng-model="detail.maxCount" style="width:140px;" ng-disabled="true" />                </div>                <div class="form-group">                    <label for="membershipType" class="control-label col-sm-3">频率：</label>                    <input class="form-control" ng-model="detail.planFrequency" style="width:140px;" ng-disabled="true" />                </div>                <div class="form-group">                    <label for="membershipType" class="control-label col-sm-3">使用限制：</label>                    <input class="form-control" ng-model="detail.planScope" style="width:140px;" ng-disabled="true" />                </div>                <div class="form-group">                    <label for="membershipType" class="control-label col-sm-3">已使用次数：</label>                    <input class="form-control" ng-model="detail.usedCount" style="width:140px;" ng-disabled="true" />                </div>                <div class="form-group">                    <label for="membershipType" class="control-label col-sm-3">剩余次数：</label>                    <input style="width:80px;"                            kendo-numeric-text-box k-min="0" k-max="9999" k-step="1"                           k-options="{format: \'#\'}"                            k-on-change="onRemainCountChange(kendoEvent,\'handle\',$index)"                           k-ng-model="detail.remainCount" class="not-ignore" />                    <!--<input class="form-control" ng-model="detail.remainCount" style="width:140px;" />-->                </div>            </div>        </form>    </div>    <div class="modal-footer ares-dialog-footer" style="text-align:center;">        <button type="button" class="btn btn-primary" ng-click="save()" ng-disabled="isSaving">确认</button>        <button type="button" class="btn btn-default" ng-click="cancel()">取消</button>    </div></div>');templateCache.put('/app/patient/dialogs/patient-tag-manage/patient-tag-manage-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="close()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">标签管理</h4>    </div>    <div class="modal-body ares-dialog-body" style="height: 450px">        <div>            <patient-tags-manage-block-view></patient-tags-manage-block-view>        </div>    </div>    <div class="modal-footer ares-dialog-footer" style="text-align: center; ">        <button class="btn btn-default" ng-click="close()">关闭</button>    </div></div>');templateCache.put('/app/patient/views/disposal-dialog-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">诊断项目</h4>    </div>    <div class="modal-body" style="padding: 10px; margin-top: -1px; border-left: 3px solid #608FB7; border-right: 3px solid #608FB7; height: 530px;">        <div class="panel-heading clearfix" style="padding:10px 3px !important;text-align:center">            <input ng-model="searchString" class="form-control" style="max-width:80%;" placeholder="请输入编号/名称/英文名查询/拼音首字母" />        </div>        <div id="disposalItemList" style="height: 450px; overflow-y: auto; "></div>    </div>    <div class="modal-footer ares-dialog-footer">        <button type="button" class="btn btn-default" ng-disabled="!isSelect" ng-click="save()">确定</button>        <button type="button" class="btn btn-default" ng-click="cancel()">取消</button>    </div></div>');templateCache.put('/app/patient/views/group-patient-consult-record-view.html','<div class="col-lg-12" style="background: #F5F5F5; margin-top:3px;">    <style scoped>        .consult-record-date-text {            font-size: 16px;        }        .consult-record-office-text {            font-family: SourceHanSansCN-Normal;            font-size: 12px;            color: #666a73;        }        .consult-record-timeline-day {            padding-top: 1em;            padding-left: 0.5em;        }            .consult-record-timeline-day .btn {                margin-bottom: 0;                margin-left: -10px;                margin-right: 0;            }        .consult-record-consume-intention {            color: #00A6C9;        }        .view-dialog {            color: blue;        }        .online-consult-text {            font-family: SourceHanSansCN-Medium;            font-size: 16px;            color: #f6a623;        }        .offline-consult-text {            font-family: SourceHanSansCN-Medium;            font-size: 16px;            color: #27a393;        }        .offline-appt-time-text {            font-family: SourceHanSansCN-Medium;            font-size: 16px;            color: #3d3d3d;        }        .second-level-button-default-class {            cursor: pointer;            font-family: .PingFangSC-Regular;            background: #ffffff;            font-size: 14px;            border: 1px solid #00a8cb;            border-radius: 4px;            width: 76px;            height: 30px;            color: #00A8CB;        }        .second-level-button-hover-class {            cursor: pointer;            font-family: .PingFangSC-Regular;            background-color: #00a8cb;            font-size: 14px;            border: 1px solid #00a8cb;            border-radius: 4px;            width: 76px;            height: 30px;            color: white;        }        .third-level-button-default-class {            cursor: pointer;            font-family: .PingFangSC-Regular;            font-size: 14px;            color: #666a73;            text-align: center;            background: #ffffff;            border: 1px solid #e3e3e3;            border-radius: 4px;            width: 38px;            height: 30px;        }        .third-level-button-hover-class {            cursor: pointer;            font-family: .PingFangSC-Regular;            font-size: 14px;            color: #00a8cb;            text-align: center;            background: #ffffff;            border: 1px solid #00a8cb;            border-radius: 4px;            width: 38px;            height: 30px;        }    </style>    <!-- BEGIN TIMELINE CONTENT -->    <div class="consult-record-timeline-day">        <i class="icon-custom-left"></i>        <div style="display:inline-block">            <button type="button" class="btn btn-primary f-16"><strong>咨询记录</strong></button>            <button type="button" id="btnNewConsult" class="second-level-button-default-class" style="margin-left: 546px;"                    ng-mouseenter="addMouseHoverClass($event)" ng-mouseleave="removeMouseHoverClass($event)"                    ng-click="createConsult()" ng-if="providerJob==\'网电营销\'||providerJob==\'咨询师\'">                新建咨询            </button>        </div>    </div>    <section id="timeline">        <div class="timeline-block" ng-repeat="consult in consultList">            <div class="timeline-icon bg-primary" style="width:80px;border-radius:5px;">                <strong class="consult-record-date-text">{{::consult.orderDateTime | date:\'M月d日\'}}</strong><br />{{::consult.orderDateTime | date:\'yyyy\'}}            </div>            <div class="timeline-content" style="padding: 10px;">                <div class="timeline-heading clearfix timeBox">                    <table>                        <tr>                            <td style="width: 550px" ng-show="consult.isOnline">                                <h3 class="pull-left">                                    <div class="online-consult-text">                                        <strong>线上咨询 </strong>                                    </div>                                </h3>                            </td>                            <td style="width: 550px" ng-show="!consult.isOnline">                                <h3 class="pull-left">                                    <div>                                        <span class="offline-consult-text"><strong>线下咨询</strong></span>                                        <strong class="offline-appt-time-text">                                            {{::consult.apptStartTime | date:\'HH:mm\'}} - {{::consult.apptEndTime | date:\'HH:mm\'}}                                            {{consult.isFirstVisit|toFirstVisit}} <span class="consult-record-office-text">{{consult.apptOfficeId|toOfficeSuffix}}</span>                                        </strong>                                    </div>                                </h3>                            </td>                            <td>                                <button type="button" class="third-level-button-default-class" ng-mouseenter="addThirdLevelMouseHoverClass($event)" ng-mouseleave="removeThirdLevelMouseHoverClass($event)" ng-click="editConsult(consult.id)" ng-show="consult.canEdit">                                    修改                                </button>                            </td>                        </tr>                    </table>                </div>                <div class="timeline-body">                    <table>                        <tr style="vertical-align: top;"><td><strong>咨询项目：</strong></td><td style="word-break: break-all; width: 85%">{{consult.consultItems}}</td></tr>                        <tr style="vertical-align: top;"><td><strong>咨询内容：</strong></td><td style="word-break: break-all; width: 85%">{{consult.content}}</td></tr>                        <tr style="vertical-align: top;"><td><strong>成交意愿：</strong></td><td>{{consult.intention}}</td></tr>                        <tr style="vertical-align: top;"><td><strong>意向说明：</strong></td><td>{{consult.intentionDesc}}</td></tr>                        <tr style="vertical-align: top;" ng-show="consult.isOnline"><td><strong>沟通方式：</strong></td><td style="word-break: break-all; width: 85%">{{consult.method}}</td></tr>                        <tr style="vertical-align: top;" ng-show="!consult.isOnline"><td><strong>成交状态：</strong></td><td style="word-break: break-all; width: 85%">{{consult.stateStr}}</td></tr>                    </table>                </div>                <div style="text-align: right">                    <span class="text-muted"><span ares-user-name="{{consult.recordCreatedUser}}"></span>&nbsp;创建于 {{consult.recordCreatedTime|toLongDateTimeString}}</span>                </div>            </div>        </div>        <div class="timeline-block" ng-show="consultList.length==0">            <div class="timeline-icon bg-primary" style="left:18px;">                <i class="icon-picture"></i>            </div>            <div class="timeline-content">                <div class="timeline-heading clearfix">                    <h3 class="pull-left"><strong>无咨询记录!</strong></h3>                </div>            </div>        </div>    </section></div>');templateCache.put('/app/patient/views/instrument-package-use-record-view.html','<div class="instrument-package-use-log enyo">    <style scoped>        .instrument-package-use-log {            margin-top: 10px;        }            .instrument-package-use-log * {                box-sizing: border-box !important;            }        .instrument-package-use-wrapper {            padding-top: 5px;        }            .instrument-package-use-wrapper label {                font-weight: normal;                line-height: 30px;                font-size: 13px;            }        .instrument-package-use-log .search-date {            float: left;            margin-left: 5px;        }        .instrument-package-use-list .list-ul {            margin-top: 15px;            margin-left: 60px;            border-left: 1px solid #d5d5d5;        }            .instrument-package-use-list .list-ul li {                position: relative;                padding-bottom: 30px;                margin-left: -56px;            }                .instrument-package-use-list .list-ul li:last-child {                    background-color: #fff;                }        .instrument-package-use-list .now-time {            display: inline-block;            padding: 5px 13px;            background-color: #e0faff;            border-radius: 100px;            color: #00a6c9;        }        .instrument-package-use-list .list-ul li .r-status {            background-color: #e0faff;            display: inline-block;            width: 112px;            height: 48px;            border-radius: 15px;            color: #00a6c9;            line-height: 30px;            font-size: 14px;            padding-top: 6px;            padding-left: 16px;            text-align: left;        }            .instrument-package-use-list .list-ul li .r-status > div {                line-height: 1.3em;            }        .instrument-package-use-list .list-ul li .r-detail {            margin-left: 25px;            width: 80%;        }            .instrument-package-use-list .list-ul li .r-detail .r-detail-list {                margin-top: 10px;            }            .instrument-package-use-list .list-ul li .r-detail .r-detail-t {                font-size: 16px;                color: #00a6c9;            }        .instrument-package-use-list .list-ul li .r-text {            background: #f3f7f7;            padding: 4px 10px;            margin-top: 5px;        }            .instrument-package-use-list .list-ul li .r-text .r-text-label {                color: #9397a2;                margin-right: 5px;            }                .instrument-package-use-list .list-ul li .r-text .r-text-label .r-text-cont {                    color: #575d6a;                    max-width: 600px;                    margin-right: 5px                }                .instrument-package-use-list .list-ul li .r-text .r-text-label .pay-m {                    color: #f78a22;                }    </style>    <div class="instrument-package-use-wrapper clearfix">        <div class="search-date clearfix">            <label class="pull-left">查询时间</label>            <div style="float:left;margin: 0 10px;width: 220px;">                <timer-range-picker time-range-date="timeSpan" on-changed="onDateRangeChanged"></timer-range-picker>            </div>            <div class="input-group input-group-clean">                <input type="text" class="form-control" placeholder="器械包号/包名" ng-model="containerCode">                <span class="input-group-addon" ng-click="searchLog()">                    <i class="iconfont icon-sousuo"></i>                </span>            </div>        </div>    </div>    <div style="">        <div class="instrument-package-use-list">            <ul class="list-ul">                <li class="clearfix" ng-repeat="group in packageInstanceUseList">                    <div class="r-status f-left">                        <div class="time">{{::group.date}}</div>                        <div class="week">{{::group.week}}</div>                    </div>                    <div class="r-detail f-left">                        <div class="r-detail-list" ng-repeat="package in group.detail">                            <div class="r-detail-t">{{::package.name}}</div>                            <div class="r-text">                                <span class="r-text-label">编号：<span class="r-text-cont">{{::package.code}}</span>|</span>                                <span class="r-text-label" ng-if="package.sterTime">灭菌时间：<span class="r-text-cont">{{::package.sterTime}}</span>|</span>                                <span class="r-text-label">有效期：<span class="r-text-cont">{{::package.expiredDate}}</span>|</span>                                <span class="r-text-label">使用医生：<span class="r-text-cont">{{::package.providerName}}</span>|</span>                                <span class="r-text-label">使用时间：<span class="r-text-cont">{{::package.time}}</span></span>                                <span ng-if="package.status==packageUsedStatus&&!package.isArchived">                                    <a style="float:right" title="撤销" ares-click="revokePackageInstanceUseLog(package.logId)">                                        <i class="icon iconfont icon-chexiao" style="font-size:24px"></i>                                    </a>                                </span>                            </div>                        </div>                    </div>                </li>            </ul>        </div>    </div></div>');templateCache.put('/app/patient/views/patient-admin-record-view.html','<div class="ares-main-content" ares-clean-kendo>    <style scoped>        .frm .control-label {            margin-bottom: 25px;            text-align: left;            margin-left: 40px;            max-width: 100px;        }        .tab-rm .control-label {            vertical-align: middle;            text-align: left;            margin-left: 30px;        }        .tab-rm .control-content {            vertical-align: middle;            text-align: left;            margin-left: 10px;            max-width: 250px;        }        .frm .lb-width {            max-width: 80px;            margin-left: 0px;        }        .qf-marleft {            margin-left: 15px;        }        .tab-rm .form-group {            margin: 0px;        }        .bodycheck-lable {            padding: 0;            top: 8px;            vertical-align: top;            display: inline;            margin-right: 30px;        }        .span-patient-tag {            width: 17px;            height: 17px;            color: white;            float: left;            text-align: center;            line-height: 17px;            margin-right: 5px;            margin-top: 8px;        }    </style>    <form id="patientForm" name="patientForm" class="form-horizontal" style="width:800px;padding:10px;" ng-show="!isEditMode">        <fieldset>            <legend>1.基本信息</legend>            <table class="tab-rm">                <tr>                    <td width="100">                        <label class="control-label control-label2">患者类型</label>                    </td>                    <td width="200" height="30">                        <div class="form-group">                            <div>                                <label class="control-content">{{patient.patientType}}</label>                            </div>                        </div>                    </td>                </tr>                <tr>                    <td width="100">                        <label class="control-label control-label2">病历号</label>                    </td>                    <td width="200" height="30">                        <div class="form-group">                            <label class="control-content">{{patient.privateId}}</label>                        </div>                    </td>                    <td rowspan="6" colspan="2" width="300">                        <div class="form-group" style="height: 200px; width: 200px; MARGIN-RIGHT: auto; text-align: center; MARGIN-LEFT: 25px; line-height: 200px; vertical-align: middle; margin-bottom: 20px; border: 1px solid lightgray; ">                            <a href="" ng-click="onClickFileDialog(\'load\')" target="_blank" style="max-width:100%;max-height:100%; vertical-align: middle;">                                <img ng-src="{{picture.filePath}}" style="max-height: 200px; max-width: 100%; margin: 0 auto; vertical-align: middle; position: static; top: -50%; left: -50%;" />                            </a>                        </div>                    </td>                </tr>                <tr>                    <td>                        <label for="otherPrivateId" class="control-label">其他病历号</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{patient.otherPrivateId}}</label>                        </div>                    </td>                </tr>                <tr>                    <td>                        <label class="control-label control-label2">姓名</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{patient.name}}</label>                        </div>                    </td>                </tr>                <tr>                    <td>                        <label class="control-label control-label2">昵称</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{patient.nickName}}</label>                        </div>                    </td>                </tr>                <tr>                    <td>                        <label class="control-label">生日</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{patient.birth | toDateString}}</label>                        </div>                    </td>                </tr>                <tr>                    <td>                        <label class="control-label">年龄</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{patient.birth | toAgeYearString}}</label>                        </div>                    </td>                </tr>                <tr>                    <td>                        <label class="control-label">性别</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{patient.sex | toSexString}}</label>                        </div>                    </td>                </tr>                <tr>                    <td style="vertical-align:top;">                        <label class="control-label">手机</label>                    </td>                    <td>                        <div class="form-group" ng-repeat="item in mobileList">                            <label class="control-content" ng-show="item.mobile!=\'\'">{{item.mobileType}}：{{item.mobile}}</label>                        </div>                    </td>                    <td>                        <label class="control-label">专属客服</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{patient.attendantName}}</label>                        </div>                    </td>                </tr>                <tr>                    <td style="vertical-align:top;">                        <label class="control-label">电话</label>                    </td>                    <td>                        <div class="form-group" ng-repeat="item in phoneNumberList">                            <label class="control-content" ng-show="item.mobile!=\'\'">{{item.mobileType}}：{{item.mobile}}</label>                        </div>                    </td>                    <td>                        <label class="control-label">咨询师</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">                                {{patient.consultantName}} &nbsp;                                <img ng-show="patient.consultantName&&(patient.consultantId==patient.advisorId)" alt="专属顾问" title="专属顾问" style="width:40px;height:40px;border:0;margin:0;border-radius:50%;" src="/app-resource/images/user-mini.png">&nbsp;                            </label>                        </div>                    </td>                </tr>                <tr>                    <td>                        <label class="control-label">初诊日期</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{patient.firstVisit|toDateString}}</label>                        </div>                    </td>                    <td>                        <label class="control-label">初诊医生</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{patient.doctorName}}</label>                        </div>                    </td>                </tr>                <tr>                    <td>                        <label class="control-label">国籍</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{patient.nationality}}</label>                        </div>                    </td>                    <td>                        <label class="control-label">患者来源</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{patient.sourceTypeLevel1}}</label>                            <label class="control-content">{{patient.sourceType}}</label>                            <label class="control-content">{{patient.refereeName}}</label>                        </div>                    </td>                </tr>                <tr ng-show="enableReferee || enableProvider">                    <td>                        <label ng-show="enableReferee" class="control-label">推荐人姓名</label>                        <label ng-show="enableProvider" class="control-label">推荐员工</label>                    </td>                    <td ng-show="enableReferee || enableProvider">                        <div class="form-group">                            <label class="control-content">{{patient.refereeName}}</label>                        </div>                    </td>                    <td ng-show="enableReferee || enableProvider">                        <label class="control-label">手机号/推荐码</label>                    </td>                    <td ng-show="enableReferee || enableProvider">                        <div class="form-group">                            <label class="control-content">{{patient.refereeMobileOrCode}}</label>                        </div>                    </td>                </tr>                <tr>                    <td>                        <label class="control-label">身份证号</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{patient.identityCard}}</label>                        </div>                    </td>                    <td>                        <label class="control-label">邮箱</label>                    </td>                    <td>                        <div class="form-group">                            <span ng-model="patient.email" />                            <label class="control-content">{{patient.email}}</label>                        </div>                    </td>                </tr>                <tr>                    <td>                        <label class="control-label">QQ</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{patient.qq}}</label>                        </div>                    </td>                    <td>                        <label class="control-label">微信</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content" ng-show="patient.marketCenterAccount">已绑定</label>                            <label class="control-content" ng-show="!patient.marketCenterAccount">未绑定</label>                        </div>                    </td>                </tr>                <tr>                    <td>                        <label class="control-label">家庭住址</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{patient.homeAddress}}</label>                        </div>                    </td>                    <td>                        <label class="control-label control-label2">会员卡</label>                    </td>                    <td>                        <div class="form-group">                            <div ng-show="isShareMember||patient.membershipId">                                <label class="control-content">({{membership.membershipTypeName}}) {{membership.cardNumber}}<span ng-show="isShareMember">[共享]</span></label>                            </div>                            <div ng-show="!isShareMember&&!patient.membershipId">                                <label class="control-content">无</label>                            </div>                        </div>                    </td>                </tr>                <tr>                    <td>                        <label class="control-label">责任医生</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">                                {{patient.dutyDoctorName}}&nbsp;                                <img ng-show="patient.dutyDoctorName&&(patient.dutyDoctorId==patient.advisorId)" alt="专属顾问" title="专属顾问" style="width:40px;height:40px;border:0;margin:0;border-radius:50%;" src="/app-resource/images/user-mini.png">&nbsp;                            </label>                        </div>                    </td>                    <td>                        <label class="control-label">推荐人数</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{refereeCount}}</label>                            <button type="button" class="btn btn-default btn-xs" ng-click="showReferee()" style="margin-top: 10px;" ares-not-archive>打开</button>                        </div>                    </td>                </tr>            </table>            <table class="tab-rm">                <tr>                <tr>                    <td style="vertical-align: top;">                        <label class="control-label">患者备注</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content" style="word-break: break-all;">{{patient.notes}}</label>                        </div>                    </td>                </tr>            </table>        </fieldset>        <fieldset class="fie-rm" style="margin-top:20px">            <legend>2.全身检查</legend>            <table style="width:100%;">                <tr>                    <td style="width:150px;padding-left: 40px;    height: 50px;">                        <label class="control-label" style="padding: 0;">既往史:</label>                    </td>                    <td>                        <input class="not-ignore form-control" disabled="disabled" ng-model="bodycheck.disease" style="width:420px;max-width:460px;">                    </td>                </tr>                <tr>                    <td style="width:150px;padding-left: 40px;    height: 50px;">                        <label class="control-label" style="padding: 0;">过敏源:</label>                    </td>                    <td>                        <input class="not-ignore form-control" disabled="disabled" ng-model="bodycheck.medicine" style="width:420px;max-width:460px;">                    </td>                </tr>                <tr>                    <td style="width:150px;padding-left: 40px;    height: 50px;">                        <label class="control-label" style="padding: 0;">用药史:</label>                    </td>                    <td>                        <input class="not-ignore form-control" disabled="disabled" ng-model="bodycheck.medicineNow" style="width:420px;max-width:460px;">                    </td>                </tr>                <tr ng-show="patient.sex==2">                    <td style="padding-left: 40px;height: 50px;" colspan="2">                        <div>                            <label class="control-label">怀孕:</label>                            <div class="input-container " style="padding-top:5px; max-width:110px;display: inline;">                                <label class="checkbox" style="display:inline;margin-left:20px">                                    <input type="radio" name="IsPregnant" disabled="disabled" id="PreYes" value="1" ng-checked="bodycheck.isPregnant==\'是\'"> 是                                </label>                                <label class="checkbox" style="display: inline; margin-left: 20px">                                    <input type="radio" name="IsPregnant" disabled="disabled" id="PreNo" value="2" ng-checked="bodycheck.isPregnant==\'否\'"> 否                                </label>                            </div>                            <label class="control-label" style="margin-left:50px;margin-right:30px;">孕龄:</label>                            <div class="input-container" style="display: inline;">                                <select id="GestationalAge" class="not-ignore form-control" style="width:80px;display: inline;" disabled="disabled" ng-model="bodycheck.gestationalAge">                                    <option value="0">0</option>                                    <option value="1">1</option>                                    <option value="2">2</option>                                    <option value="3">3</option>                                    <option value="4">4</option>                                    <option value="5">5</option>                                    <option value="6">6</option>                                    <option value="7">7</option>                                    <option value="8">8</option>                                    <option value="9">9</option>                                    <option value="10">10</option>                                    <option value="11">11</option>                                    <option value="12">12</option>                                    <option value="13">13</option>                                    <option value="14">14</option>                                    <option value="15">15</option>                                    <option value="16">16</option>                                    <option value="17">17</option>                                    <option value="18">18</option>                                    <option value="19">19</option>                                    <option value="20">20</option>                                    <option value="21">21</option>                                    <option value="22">22</option>                                    <option value="23">23</option>                                    <option value="24">24</option>                                    <option value="25">25</option>                                    <option value="26">26</option>                                    <option value="27">27</option>                                    <option value="28">28</option>                                    <option value="29">29</option>                                    <option value="30">30</option>                                    <option value="31">31</option>                                    <option value="32">32</option>                                    <option value="33">33</option>                                    <option value="34">34</option>                                    <option value="35">35</option>                                    <option value="36">36</option>                                    <option value="37">37</option>                                    <option value="38">38</option>                                    <option value="39">39</option>                                    <option value="40">40</option>                                </select>                                <label class="control-label" style="margin-left:20px;display: inline;">周</label>                            </div>                            <label class="control-label" style="margin-left:50px;">哺乳:</label>                            <div class="input-container" style="display: inline;">                                <label class="checkbox" style="display:inline;margin-left:20px">                                    <input type="radio" name="IsLactation" disabled="disabled" id="BuYes" value="1" ng-click="setLac(true)" ng-checked="bodycheck.isLactation==\'是\'"> 是                                </label>                                <label class="checkbox" style="display: inline; margin-left: 20px">                                    <input type="radio" name="IsLactation" disabled="disabled" id="BuNo" value="2" ng-click="setLac(false)" ng-checked="bodycheck.isLactation==\'否\'"> 否                                </label>                            </div>                        </div>                    </td>                </tr>                <tr>                    <td style="padding-left: 40px;height: 50px;" colspan="2">                        <label class="control-label" style="margin-right:20px;">刷牙:</label>                        <div class="input-container" style="display: inline;">                            <select id="BrushTimeDay" class="not-ignore form-control" style="display: inline;width:50px;" disabled="disabled" ng-model="bodycheck.brushTimeDay">                                <option value="0">0</option>                                <option value="1">1</option>                                <option value="2">2</option>                                <option value="3">3</option>                                <option value="4">4</option>                                <option value="5">5</option>                            </select>                        </div>                        <label class="control-label" style="margin-left: 5px;">次/天</label>                        <div class="input-container" style=" margin-left:5px;display: inline;">                            <select id="BrushTimeMinute" class="not-ignore form-control" disabled="disabled" style="width:50px;display: inline;" ng-model="bodycheck.brushTimeMinute">                                <option value="0">0</option>                                <option value="1">1</option>                                <option value="2">2</option>                                <option value="3">3</option>                                <option value="4">4</option>                                <option value="5">5</option>                                <option value="6">6</option>                                <option value="7">7</option>                                <option value="8">8</option>                                <option value="9">9</option>                                <option value="10">10</option>                            </select>                        </div>                        <label class="control-label" style="margin-left: 5px;margin-right: 30px;">分钟/次</label>                        <label class="checkbox control-label bodycheck-lable">                            <input type="checkbox" id="IsElectricBrush" disabled="disabled" ng-model="bodycheck.isElectricBrush">电动牙刷                        </label>                        <label class="checkbox control-label bodycheck-lable">                            <input type="checkbox" id="IsDentalflos" disabled="disabled" ng-model="bodycheck.isDentalflos">牙线                        </label>                        <label class="checkbox control-label bodycheck-lable">                            <input type="checkbox" id="IsCreviceBrush" disabled="disabled" ng-model="bodycheck.isCreviceBrush">牙缝刷                        </label>                        <label class="checkbox control-label bodycheck-lable">                            <input type="checkbox" id="IsMouthwashSlobber" disabled="disabled" ng-model="bodycheck.isMouthwashSlobber">漱口水                        </label>                        <label class="checkbox control-label bodycheck-lable">                            <input type="checkbox" id="IsToothpick" disabled="disabled" ng-model="bodycheck.isToothpick">牙签                        </label>                    </td>                </tr>                <tr>                    <td style="padding-left: 40px;height: 50px;" colspan="2">                        <label class="control-label" style="margin-right:20px;">吸烟:</label>                        <div class="input-container" style="display: inline;">                            <select id="SmokeTimeDay" class="not-ignore form-control" disabled="disabled" style="display: inline;width:80px;" ng-model="bodycheck.smokeTimeDay">                                <option value="0">0</option>                                <option value="1">1</option>                                <option value="2">2</option>                                <option value="3">3</option>                                <option value="4">4</option>                                <option value="5">5</option>                                <option value="6">6</option>                                <option value="7">7</option>                                <option value="8">8</option>                                <option value="9">9</option>                                <option value="10">10</option>                                <option value="11">11</option>                                <option value="12">12</option>                                <option value="13">13</option>                                <option value="14">14</option>                                <option value="15">15</option>                                <option value="16">16</option>                                <option value="17">17</option>                                <option value="18">18</option>                                <option value="19">19</option>                                <option value="20">20</option>                            </select>                        </div>                        <label class="control-label" style="margin-left: 5px;margin-right: 40px;">次/天</label>                        <label class="checkbox control-label bodycheck-lable">                            <input type="checkbox" id="IsMolarTooth" disabled="disabled" ng-model="bodycheck.isMolarTooth">夜磨牙                        </label>                        <label class="checkbox control-label bodycheck-lable">                            <input type="checkbox" id="IsLikeHardFoot" disabled="disabled" ng-model="bodycheck.isLikeHardFoot">喜硬食                        </label>                        <label class="checkbox control-label bodycheck-lable">                            <input type="checkbox" id="IsExtraction" disabled="disabled" ng-model="bodycheck.isExtraction">拔牙史                        </label>                        <label class="checkbox control-label bodycheck-lable">                            <input type="checkbox" id="IsOrthodontics" disabled="disabled" ng-model="bodycheck.isOrthodontics">正畸史                        </label>                        <label class="checkbox control-label bodycheck-lable">                            <input type="checkbox" id="IsRepair" disabled="disabled" ng-model="bodycheck.isRepair">修复史                        </label>                        <label class="checkbox control-label bodycheck-lable">                            <input type="checkbox" id="IsATooth" disabled="disabled" ng-model="bodycheck.isaTooth">种牙史                        </label>                        <label class="checkbox control-label bodycheck-lable">                            <input type="checkbox" id="IsDentizing" disabled="disabled" ng-model="bodycheck.isDentizing">补牙史                        </label>                    </td>                </tr>            </table>        </fieldset>        <fieldset>            <legend>3.首诊信息</legend>            <div class="frm">                <div class="form-group">                    <label class="control-label col-sm-3" for="chiefComplaint">主诉:</label>                    <div class="col-sm-8 input-container">                        <div class="form-group">                            <label style="margin-top:5px;width:450px">{{bodycheck.chiefComplaint}}</label>                        </div>                    </div>                </div>                <div class="form-group">                    <label class="control-label col-sm-3" for="symptom">症状:</label>                    <div class="col-sm-8 input-container">                        <div class="form-group">                            <label style="margin-top: 5px; width: 450px">{{bodycheck.symptom}}</label>                        </div>                    </div>                </div>                <div class="form-group">                    <label class="control-label col-sm-3" for="roughlyEvaluate">初步判断:</label>                    <div class="col-sm-8 input-container">                        <div class="form-group">                            <label style="margin-top: 5px; width: 450px">{{bodycheck.roughlyEvaluate}}</label>                        </div>                    </div>                </div>            </div>        </fieldset>        <fieldset>            <legend>4.患者标签</legend>            <div class="frm">                <div class="form-group">                    <label class="control-label  col-sm-3">患者标签:</label>                    <div class="col-sm-8">                        <label class="checkbox inline col-sm-1" ng-repeat="tag in patient.tagList"                               ng-style="{\'background-color\':tag.itemValue}" style="font-size: 16px; font-weight: normal; text-align: center; width: 130px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; " title="{{tag.itemName}}">                            <span>{{tag.itemName}}</span>                        </label>                        <span class="span-patient-tag" ng-repeat="tag in patient.hidenTagList" title="{{tag.itemName}}" ng-style="{\'background-color\':tag.itemValue}" >{{tag.abbreviation}}</span>                    </div>                </div>            </div>        </fieldset>        <fieldset>            <legend>5.亲友关系</legend>            <script id="patientNameTemplate" type="text/x-kendo-template">                <a href="" title="查看患者信息" onclick="PatientCtrl_goToPatient(this)">#: patientName #</a>            </script>            <div id="PatientRelation">            </div>        </fieldset>    </form></div>');templateCache.put('/app/patient/views/patient-appt-record-view.html','<div class="col-lg-12" style="background: #F5F5F5; margin-top:3px;">    <style scoped>        .date-text {            font-size: 16px;        }        .office-text {            color: #cecece;            font-size: 14px;        }        .patient-appt-record-timeline-dianping-icon {            width: 24px !important;            height: 24px;            padding: 4px;            border-radius: 4px;            -webkit-border-radius: 4px;            background-color: #e74a2c;        }        .patient-appt-record-timeline-wesure {            width: 24px !important;            height: 24px;            padding: 4px;        }        .patient-appt-record-timeline-alihealth {            width: 24px !important;            height: 24px;            padding: 4px;        }        .appt-type-style {            color: #fff;            font-size: 14px;            padding: 2px 10px;            -webkit-border-radius: 4px;            -moz-border-radius: 4px;            border-radius: 4px;        }        .appt-type-is-advance {            background: #2cc87e;        }        .appt-type-is-arrive {            background: #00a6c9;        }        span.select-condition-title {            color: #000;            vertical-align: top;        }    </style>    <!-- BEGIN TIMELINE CONTENT -->    <div class="timeline-btn-day">        <i class="icon-custom-left"></i>        <div>            <button type="button" class="btn btn-primary f-16"><strong>就诊记录</strong></button>            <span class="select-condition-title" ng-show="allAppts && allAppts.length>0">按预约状态筛选</span>            <label class="checkbox inline" style="font-weight: normal;display:inline;margin-left:30px;vertical-align: top;" ng-show="allAppts && allAppts.length>0">                <input type="checkbox" name="includeCanceled" ng-model="includeCanceled" ng-change="filterAppts()"> 包含取消            </label>            <label class="checkbox inline" style="font-weight: normal;display: inline; margin-left: 30px;vertical-align: top;" ng-show="allAppts && allAppts.length>0">                <input type="checkbox" name="includeFailed" ng-model="includeFailed" ng-change="filterAppts()"> 包含失约            </label>            <label class="checkbox inline" style="font-weight: normal;display: inline; margin-left: 30px ;vertical-align: top;" ng-show="allAppts && allAppts.length>0">                <input type="checkbox" name="includePending" ng-model="includePending" ng-change="filterAppts()"> 包含待定            </label>            <span class="select-condition-title" style="margin-left: 30px;" ng-show="allAppts && allAppts.length>0">按预约类型筛选</span>            <label class="checkbox inline" style="font-weight: normal;display: inline; margin-left: 30px ;vertical-align: top;" ng-show="allAppts && allAppts.length>0">                <input type="checkbox" name="includeAppoint" ng-model="includeAppoint" ng-change="filterAppts()"> 包含预约            </label>            <label class="checkbox inline" style="font-weight: normal;display: inline; margin-left: 30px ;vertical-align: top;" ng-show="allAppts && allAppts.length>0">                <input type="checkbox" name="includeArrive" ng-model="includeArrive" ng-change="filterAppts()"> 包含到店            </label>        </div>    </div>    <section id="timeline">        <div class="timeline-block" ng-repeat="appt in apptList">            <div class="timeline-icon bg-primary" style="width:80px;border-radius:5px;">                <strong class="date-text">{{::appt.startTime | date:\'M月d日\'}}</strong><br />{{::appt.startTime | date:\'yyyy\'}}            </div>            <div class="timeline-content" style="padding:10px;width:700px">                <div class="timeline-heading clearfix timeBox">                    <table style="width:100%">                        <tr>                            <td>                                <h3 class="pull-left">                                    <img ng-if="::appt.sourceType === \'dp\'" class="patient-appt-record-timeline-dianping-icon" src="/Content/imgs/icon-groupbuy-dianping-selected.png" title="来源：点评预约">                                    <img ng-if="::appt.sourceType === \'wesure\'" class=\'patient-appt-record-timeline-wesure\' src="/Content/imgs/wesure.png" title="来源：微保预约">                                    <img ng-if="::appt.sourceType === \'alihealth\'" class=\'patient-appt-record-timeline-alihealth\' src="/Content/imgs/tmall.png" title="来源：天猫预约">                                    <img ng-if="::appt.sourceType === \'alipaybp\'" class=\'patient-appt-record-timeline-alihealth\' src="/Content/imgs/alipaybp.jpg" title="来源：支付宝标品">                                    <img ng-if="::appt.sourceType === \'weinsurance\'" class=\'patient-appt-record-timeline-alihealth\' src="/Content/imgs/weinsurance.png" title="来源：微医保">                                    <strong>                                        {{::appt.startTime | date:\'HH:mm\'}} - {{::appt.endTime | date:\'HH:mm\'}}                                        {{appt.checkInType}}预约                                        <span class="appt-type-style" ng-class="appt.appointmentTypeStr === \'预约\' ? \'appt-type-is-advance\' : \'appt-type-is-arrive\' ">{{appt.appointmentTypeStr}}</span>                                        <span class="office-text">{{appt.officeId | toOfficeSuffix}}</span>                                        <span class="appt-type-style appt-type-is-arrive" style="display: inline-block;padding: 4px 10px;"                                              ng-if="!appt.isCheckedIn && appt.hasCheckInAdvanceBilledOrder">                                            挂号费已预收                                        </span>                                    </strong>                                </h3>                            </td>                            <td style="width:250px;vertical-align: top;">                                <div class="container-fluid pull-right">                                    <div class="row">                                        <span class="pull-left" ng-show="appt.stateStr==\'已取消\'||appt.stateStr==\'待定\'||appt.stateStr==\'失约\'" style="margin-right: 15px; color:red;margin-top:10px;">                                            {{appt.stateStr}}                                        </span>                                        <div class="pull-right btn-group btn-group-sm" role="group">                                            <button type="button" class="btn btn-default" ng-click="editAppt(appt.id)"                                                    ng-if="appt.canEdit" ares-not-archive>                                                <span class="glyphicon glyphicon-pencil"></span>&nbsp;修改                                            </button>                                            <button type="button" class="btn btn-default" ng-click="complateApptApply(appt)"                                                    ng-show="canComplateApply(appt)" ares-not-archive>                                                <span class="glyphicon glyphicon-yen"></span>&nbsp;核销                                            </button>                                            <button type="button" class="btn btn-default" ng-click="deleteAppt(appt.id)"                                                    ng-show="appt.stateStr==\'待定\'" ares-not-archive>                                                <span class="glyphicon glyphicon-remove"></span>&nbsp;删除                                            </button>                                            <button type="button" class="btn btn-default" ng-click="cancelAppt(appt)"                                                    ng-if="appt.canCancel" ares-authorize="scheduleCenter.cancelAppt"                                                    ares-appt-allow="cancel" ares-not-archive>                                                <span class="glyphicon glyphicon-remove"></span>&nbsp;取消                                            </button>                                            <button type="button" class="btn btn-default" ng-click="showApptAuditLog(appt)"><span class="glyphicon glyphicon-eye-open"></span>&nbsp;日志</button>                                        </div>                                    </div>                                </div>                            </td>                        </tr>                    </table>                </div>                <div class="timeline-body">                    <ul style="list-style-type: none;">                        <!--<li>                            <span ng-if="appt.checkInType">                                挂号类型：<strong class="provider-name">{{appt.checkInType}}</strong>                            </span>                        </li>-->                        <li>                            <span>                                预约科室：<strong class="provider-name">{{appt.department}}</strong>                            </span>                        </li>                        <li>                            <span ng-if="appt.doctorId">                                医生：<strong class="provider-name">{{appt.doctorName}}({{appt.doctorDepartment}})</strong>                            </span>                            <span ng-if="appt.consultantId">                                咨询师：<strong class="provider-name">{{appt.consultantName}}</strong>                            </span>                            <span ng-if="appt.assistantId">                                助理：<strong class="provider-name">{{appt.assistantName}}</strong>                            </span>                        </li>                        <li ng-if="appt.procedures.length">                            <span>项目：<strong ng-repeat="code in appt.procedures">[{{code.transaction.name}}]&nbsp;&nbsp;</strong></span>                        </li>                        <li>                            <span ng-if="appt.notes">备注：{{appt.notes}}</span>                        </li>                    </ul>                </div>                <div class="timeline-foot" ng-if="::!isAdminOffice">                    <button class="btn btn-default"                            type="button"                            ng-click="goToTab(\'hardTissue\',appt.generalExamId)"                            ng-hide="appt.generalExamId==0"                            ares-authorize="generalExam">                        牙齿检查                    </button>                    <button class="btn btn-default"                            ares-authorize="patientMedicalRecord"                            type="button"                            ng-show="appt.showEmrBtn"                            ng-click="goToTab(\'emr\',appt.medicalRecordId)">                        电子病历                    </button>                    <button class="btn btn-default"                            type="button"                            ng-show="appt.showOrthdonticBtn"                            ng-click="goToTab(\'orthdontic\',appt.medicalRecordId)">                        正畸过程                    </button>                    <button class="btn btn-default"                            type="button"                            ng-click="goToTab(\'imaging\',appt.id)"                            ares-authorize="patientImaging"                            ng-hide="appt.imageId==0">                        影像                    </button>                    <button class="btn btn-default"                            type="button"                            ng-click="goToTab(\'patientDocument\',appt.id)"                            ares-authorize="patientDocument"                            ng-hide="appt.patientDocumentId==0">                        文档                    </button>                    <button class="btn btn-default" type="button"                            ng-click="goToTab(\'prescription\',appt.id)"                            ares-authorize="patientPrescription"                            ng-hide="appt.drugorderId==0">                        处方                    </button>                    <button class="btn btn-default"                            type="button"                            ng-click="goToTab(\'outprocess\')"                            ares-authorize="patientOutProcess"                            ng-hide="appt.outProcessorderId==0">                        技加工                    </button>                    <button class="btn btn-default"                            type="button"                            ng-click="goToTab(\'patientCharge\',appt.id)"                            ares-authorize="patientCharge"                            ng-hide="appt.chargeOrderId==0">                        收费                    </button>                </div>                <div>                </div>                <div>                    <div class="text-muted" style="float: left;display: inline-block" ng-if="appt.sourceLevel2 && isAppointmentSourceEnabled">                        就诊来源：<label ng-show="appt.sourceLevel2">{{appt.sourceLevel1}}</label>                        <label ng-show="appt.sourceLevel2">&nbsp;|&nbsp;{{appt.sourceLevel2}}</label>                        <label ng-show="appt.sourceLevel3">｜{{appt.sourceLevel3}}</label>                    </div>                    <span class="text-muted" style="float:right;">{{appt.recordCreatedUserName}}&nbsp;创建于 {{appt.recordCreatedTime|toLongDateTimeString}}</span>                </div>            </div>        </div>        <div class="timeline-block" ng-show="apptList.length==0">            <div class="timeline-icon bg-primary">                <i class="icon-picture"></i>            </div>            <div class="timeline-content" style="width:700px">                <div class="timeline-heading clearfix">                    <h3 class="pull-left"><strong>无就诊记录!</strong></h3>                </div>            </div>        </div>    </section>    <!-- END TIMELINE CONTENT --></div>');templateCache.put('/app/patient/views/patient-batch-edit-view.html','<div class="patient-batch-edit-view enyo" ares-clean-kendo>    <style>        .patient-batch-edit-view .drop-down {            display: inline-block;            padding: 5px;        }        .patient-batch-edit-view .search-item-title {            display: inline-block;            padding: 5px;            width: 80px;        }        .patient-batch-edit-view .dialog-footer {            text-align: center;            height: 51px;            border-top: 1px solid #cfdbdd;            background: #f3f7f7;            padding-top: 10px;        }        .patient-batch-edit-view .search-item-title {            float: left;            padding-top: 5px;            padding-right: 10px;        }        .patient-batch-edit-view .charge-detail-search .search-item-input {            float: left;        }        .patient-batch-edit-view .search-item {            display: inline-block;            vertical-align: middle;        }    </style>    <div class="enyo-modal-container">        <div>            <div ng-show="targetType == \'attendant\'" style="padding: 5px;">                <div class="search-item-title">专属客服</div>                <div class="search-item search-item-input">                    <select id="attendantInput" ng-model="patient.attendantId"></select>                </div>            </div>            <div ng-show="targetType == \'sourceType\'" style="padding: 5px;">                <div class="search-item-title">患者来源</div>                <div class="search-item search-item-input">                    <div style="display: inline; float: left;">                        <select id="parentSourceType" name="parentSourceType" ng-model="patient.sourceTypeLevel1"                                style="width: 120px">                        </select>                    </div>                    <div ng-show="hasParentSource" style="display: inline; float: left; margin-left: 5px">                        <select id="sourceType" name="sourceType" ng-model="patient.sourceType"                                style="width: 120px">                        </select>                    </div>                    <div ng-show="enableReferee"                         style="margin-left: 5px; width: 270px; display: inline; float: left;">                        <ares-patient-search on-patient-selected="onPatientChanged" on-patient-cleared="onPatientCleared"                                             is-global-search="false"                                             allow-create-new="false"                                             hide-result-if-empty="true"                                             info-text-format="找到{0} 个包含 {1} 的患者,选择一个患者"></ares-patient-search>                    </div>                    <div ng-show="enableProvider" style="display: inline; float: left; margin-left: 5px">                        <input id="provider" type="text" style="width: 150px;" />                    </div>                    <div ng-show="!enableReferee && !enableProvider && patient.sourceType && hasSourceType"                         style="display: inline; float: left; margin-left: 5px">                        <input id="otherSourceType" type="text" style="width: 150px; display: inline-block;" />                    </div>                </div>            </div>        </div>        <div class="ares-lc-k-grid">            <div id="patientList" style="margin:40px 10px 10px;"></div>            <div style="margin-left: 80px; margin-top: 5px;">                已选中{{patientCount}}条数据<span ng-if="criteria">,&nbsp;全选情况下只显示当前页患者</span>            </div>        </div>        <div class="enyo-modal-footer">            <button class="lc-btn lc-btn-primary" ng-click="save()">保存</button>            <button class="lc-btn lc-btn-default" ng-click="cancel()">取消</button>        </div>    </div></div>');templateCache.put('/app/patient/views/patient-choice-charge-view.html','<div class="ares-main-content" ares-clean-kendo>    <div class="well well-lg" style=" text-align: center; width:300px;height:140px; margin-left:30%; margin-top: 150px; ">        <div class="modal-header ares-dialog-header" style="width: 330px; margin-left: -24px; margin-top: -40px; height:25px;">            <h4 class="modal-title">请选择收费方式</h4>        </div>        <div style="margin-top:30px;">            <button type="button" ng-click="createRecord()" class="btn btn-default" style="width:150px;">                明细收费            </button>            <button type="button" ng-click="createEasyRecord()" class="btn btn-default" style="width:150px;margin-top:10px">                简易收费            </button>            <button type="button" ng-click="createDisposalRecord()" class="btn btn-default" style="width:150px;margin-top:10px">                处置收费            </button>        </div>    </div></div>');templateCache.put('/app/patient/views/patient-consult-record-view.html','<div class="col-lg-12" style="background: #F5F5F5; margin-top:3px;">    <style scoped>        .consult-record-date-text {            font-size: 16px;        }        .consult-record-office-text {            color: #cecece;            font-size: 14px;        }        .consult-record-timeline-day {            padding-top: 1em;            padding-left: 0.5em;        }            .consult-record-timeline-day .btn {                margin-bottom: 0;                margin-left: -10px;                margin-right: 0;            }        .consult-record-consume-intention {            color: #00A6C9;        }        .view-dialog {            color: blue,;        }        .consult-record-timeline-day .class2 {            color: #00a8cb;            border-color: #00a8cb;            background-color: white;        }            .consult-record-timeline-day .class2:hover {                background-color: #00a8cb;                color: white;            }    </style>    <!-- BEGIN TIMELINE CONTENT -->    <div class="consult-record-timeline-day">        <i class="icon-custom-left"></i>        <div>            <button type="button" class="btn btn-primary f-16"><strong>咨询记录</strong></button>            <button type="button"                    ares-authorize="patientMgmt.consultCreate"                    class="btn btn-primary f-16 class2"                    style="margin-left: 546px;"                    ng-if="((isCheckedInToday||isAppointmentConsultAppendable) && isStrongStrict) || !isStrongStrict"                    ng-click="createConsult()">                新建咨询            </button>        </div>    </div>    <section id="timeline">        <div class="timeline-block" ng-repeat="consult in consultList">            <div class="timeline-icon bg-primary" style="width:80px;border-radius:5px;">                <strong class="consult-record-date-text">{{::consult.startTime | date:\'M月d日\'}}</strong><br />{{::consult.startTime | date:\'yyyy\'}}            </div>            <div class="timeline-content" style="padding:10px;">                <div class="timeline-heading clearfix timeBox">                    <div ng-if="!consult.isOnline">                        <h3 class="pull-left">                            <div style=" background-color: #F9C3F1;color: white;display: inline-block;">                                <strong> 线下咨询 </strong>                            </div>                            <strong>                                {{::consult.startTime | date:\'HH:mm\'}} - {{::consult.endTime | date:\'HH:mm\'}}                                {{consult.isFirstVisit|toFirstVisit}} <span class="consult-record-office-text">{{consult.officeId|toOfficeSuffix}}</span>                                <button type="button"                                        ares-authorize="patientMgmt.consultUpdate"                                        class="btn btn-default"                                        ng-click="consultAppt(consult.id)"                                        ng-show="consult.canEdit">                                    修改                                </button>                            </strong>                        </h3>                    </div>                    <div ng-if="consult.isOnline">                        <h3 class="pull-left">                            <div style=" background-color: #00A6C9;color: white;">                                <strong> 线上咨询</strong>                            </div>                        </h3>                    </div>                </div>                <div class="timeline-body">                    <table ng-if="!consult.isOnline">                        <tr>                            <td>                                <strong>咨询项目：</strong>                            </td>                            <td style="word-break: break-all; width: 80%">{{consult.consultItems}}</td>                        </tr>                        <tr style="vertical-align: top;">                            <td>                                <strong>咨询内容：</strong>                            </td>                            <td style="word-break: break-all; width: 80%" ng-bind-html="convertToHtml(consult.content)"></td>                        </tr>                        <tr><td><strong>成交意愿：</strong></td><td>{{consult.intention}}</td></tr>                        <tr><td><strong>意向说明：</strong></td><td>{{consult.intentionDesc}}</td></tr>                        <tr ng-show="consult.reason">                            <td>                                <strong ng-show="!consult.state">备注：</strong>                            </td>                            <td style="word-break: break-all; width: 80%">{{consult.reason}}</td>                        </tr>                    </table>                    <table ng-if="consult.isOnline">                        <tr style="vertical-align: top;"><td><strong>咨询方式：</strong></td><td style="word-break: break-all; width: 80%">{{consult.method}}</td></tr>                        <tr style="vertical-align: top;">                            <td><strong>咨询内容：</strong></td>                            <td>                                <table>                                    <tr>                                        <td style="word-break: break-all; width: 80%"><span ng-bind-html="convertToHtml(consult.content)"></span></td>                                    </tr>                                </table>                            </td>                        </tr>                        <tr style="vertical-align: top;"><td><strong>咨询项目：</strong></td><td style="word-break: break-all; width: 80%" ng-bind-html="convertToHtml(consult.consultItems)"></td></tr>                        <tr style="vertical-align: top;"><td><strong>成交意愿：</strong></td><td>{{consult.intention}}</td></tr>                        <tr style="vertical-align: top;"><td><strong>意向说明：</strong></td><td>{{consult.intentionDesc}}</td></tr>                        <tr style="vertical-align: top;"><td><strong>备注：</strong></td><td style="word-break: break-all; width: 80%" ng-bind-html="convertToHtml(consult.notes)"></td></tr>                    </table>                </div>                <div style="text-align:right">                    <span class="text-muted"><span ares-user-name="{{consult.recordCreatedUser}}"></span>&nbsp;创建于 {{consult.recordCreatedTime|toLongDateTimeString}}</span>                </div>            </div>        </div>        <div class="timeline-block" ng-show="consultList.length==0">            <div class="timeline-icon bg-primary" style="left:18px;">                <i class="icon-picture"></i>            </div>            <div class="timeline-content">                <div class="timeline-heading clearfix">                    <h3 class="pull-left"><strong>无咨询记录!</strong></h3>                </div>            </div>        </div>    </section></div>');templateCache.put('/app/patient/views/patient-dashboard.html','<div ui-view></div>');templateCache.put('/app/patient/views/patient-diagnose-record-view.html','<div>    <div style=" margin-top:20px; margin-left:10px;display:block;float:left;width:100%">        <div class="col-sm-2" style="width:120px;">            <ares-emr-tooth-selector hide-sides="true" selected-tooth-codes="findeFDIToothCodesArray" parent-selector="table"></ares-emr-tooth-selector>        </div>        <div class="col-sm-2">            <input ng-model="findText" class="form-control" placeholder="关键字" />        </div>        <div class="col-sm-7">            <button type="button" class="btn btn-default" ng-click="search()" style="margin-left:10px;">                <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询            </button>            <span style="margin-left:3px;margin-top:5px;" tooltip="您可以查看和搜索病历或处置收费中所有标记了牙位的处置记录。" tooltip-placement="bottom-left" tooltip-class="ares-tooltip" tooltip-trigger="mouseenter">                <img style="width: 22px;" src="images/question.png" />            </span>            <label class="checkbox inline" style="font-weight: normal;display:inline;margin-left:30px;vertical-align: top;">                <input type="checkbox" name="includeEmr" ng-model="option.includeDiagnoseChargeOrder" ng-change="filterRecords()"> 包含处置收费            </label>            <label class="checkbox inline" style="font-weight: normal;display: inline; margin-left: 30px;vertical-align: top;">                <input type="checkbox" name="includeChargeOrder" ng-model="option.includeEmrRecord" ng-change="filterRecords()"> 包含病历处置            </label>        </div>    </div>    <div style="margin-top:30px;margin-left:10px;width:100%;float:left">        <div class="col-sm-12" ng-repeat="item in patientHistoryDiagnoseList" ng-show="item.isShow" style="border-bottom:1px solid black;margin-top:10px;min-height:80px;width:70%;">            <label class="col-sm-2">{{item.createDateStr}}</label>            <label class="col-sm-2" style="margin-left:-20px;">{{item.type}}</label>            <label class="col-sm-3" style="margin-left:-20px;">{{item.transactionNames}}</label>            <label class="col-sm-1">{{item.doctorName}}</label>            <label class="col-sm-2" style=" float: right; text-align: right; margin-left: -20px;"><a href="" ng-show="item.type==\'电子病历\'" ares-authorize="patientMedicalRecord" ng-click="goToEMR(item)">查看病历</a><a href="" ng-show="item.type==\'处置收费\'" ng-click="goToCharge(item)">查看收费单</a></label>            <table style="width:100%">                <tr style="width:15%; ">                    <td>                        <label class="control-label" style=" margin-left: 14px;">处置：</label>                    </td>                </tr>                <tr class="col-sm-12" ng-repeat="data in item.diagnoseMtoLiset" ng-show="data.isFind" style="margin-left: 60px;">                    <td style="width: 95%; float: left; min-height: 50px;">                        <div class="col-sm-3">                            <ares-emr-tooth-selector disable-btn="true" selected-tooth-codes="data.fdiToothCodesArray"></ares-emr-tooth-selector>                        </div>                        <div class="col-sm-7" style="">                            <div>                                <label class="control-label">{{data.diagnoseItemName}}</label>                                <label class="control-label" ng-show="item.type==\'处置收费\'" style="margin-left:15px;float:right;font-size:13px">￥{{data.price}}</label>                            </div>                            <div>                                <label ng-bind-html="data.notes" ng-class="{\'control-label\':item.type==\'电子病历\'}" ng-style="{\'margin-left\':item.type==\'电子病历\'?\'0px\':\'30px\',\'font-size\' :item.type==\'电子病历\'?\'15px\':\'13px\' }"></label>                            </div>                        </div>                    </td>                </tr>            </table>        </div>    </div></div>');templateCache.put('/app/patient/views/patient-drug-dict-config.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">处方基础数据配置</h4>    </div>    <div class="modal-body ares-dialog-body">        <div id="drugItemEditGrid" style="overflow-y:auto;">        </div>    </div>    <div class="modal-footer ares-dialog-footer">        <button type="button" class="btn btn-default" ng-click="cancel()">关闭</button>    </div></div>');templateCache.put('/app/patient/views/patient-drugorder-edit-view.html','<div class="ares-main-content" ares-clean-kendo ares-patient-container>    <!--<h1 class="ares-page-header">编辑处方</h1>-->    <style type="text/css">        .ares-main-content .item-title {            width: 100px;            text-align: right;            display: inline-block;        }        .ares-main-content .item-value-md {            width: 120px;            display: inline-block;        }        .ares-main-content .item-value-lg {            width: 190px;            display: inline-block;        }    </style>    <div class="row" style="margin-right:0px">        <style scoped>            .k-state-selected a {                color: black !important;            }        </style>        <div class="col-md-12">            <div class="panel  panel-primary">                <div class="panel-heading clearfix">                    <h4 class="panel-title pull-left" style="padding-top: 7.5px;">药品目录</h4>                    <div class="pull-right">                        <button type="button" class="btn btn-success" ng-click="editBasicDict()">编辑</button>                    </div>                </div>                <div class="panel-body">                    <div id="drugBasicDictionaryGrid"></div>                </div>            </div>        </div>        <div class="col-md-12">            <div class="panel  panel-primary">                <div class="panel-heading clearfix">                    <h4 class="panel-title pull-left" style="padding-top: 7.5px;">处方明细</h4>                    <div class="pull-right">                        <button type="button" class="btn btn-success" id="btnSave" ng-click="saveDrugOrder()">保存</button>                        <button type="button" class="btn btn-success" ng-click="toPrint()">打印</button>                        <button type="button" class="btn btn-success always-allowed" ng-click="editPrintSetting()">打印模板配置</button>                    </div>                </div>                <div class="panel-body">                    <div>                        <form class="form-horizontal">                            <div class="form-group">                                <label class="control-label item-title">就诊时间:</label>                                <input id="appoint" type="text" class="form-control  item-value-lg" style="width:190px;">                                <label class="control-label item-title">医生:</label>                                <input id="doctor" type="text" class="form-control item-value-lg">                                <label class="control-label item-title">诊断:</label>                                <input class="form-control item-value-lg" type="text" ng-model="currentDrugOrder.diagnosis">                            </div>                            <div class="form-group">                                <label class="control-label item-title">就诊卡号:</label>                                <input class="form-control item-value-md" type="text" ng-model="currentDrugOrder.clinicCardNo">                                <label class="control-label item-title">门诊号码:</label>                                <input class="form-control item-value-md" type="text" ng-model="currentDrugOrder.clinicNo">                                <label class="control-label item-title">费用类别:</label>                                <input id="feeType" type="text" class="form-control  item-value-lg" style="width:100px;">                                                                <label class="control-label item-title">备注:</label>                                <input id="remark" kendo-auto-complete class="form-control item-value-lg"                                       ng-model="currentDrugOrder.comments">                            </div>                        </form>                    </div>                    <div id="drugOrderDetailGrid"></div>                </div>            </div>        </div>        <style scoped>            .k-window-titlebar,            .k-window-actions {                background-color: #608FB7 !important;                color: white;            }            #drugItemEditGrid .k-textbox {                max-width: 100%;            }        </style>        <div id="{{privateTemplate.templateCode}}" style="display:none; ">            <div ng-bind-html="privateTemplate.templateContent">            </div>        </div>    </div></div>');templateCache.put('/app/patient/views/patient-drugorder-table-view.html','<div class="ares-main-content" ares-clean-kendo>    <style type="text/css">        .work-flow-in-progress {            padding: 2px 5px;            color: black;            background-color: yellow;        }        .work-flow-approved {            padding: 2px 5px;            color: black;            background-color: #2ff707;        }        .work-flow-rejected {            padding: 2px 5px;            color: black;            background-color: red;        }    </style>    <!--<h1 class="ares-page-header">处方记录</h1>-->    <div id="drugorderList">    </div></div>');templateCache.put('/app/patient/views/patient-drugorder-view.html','<div>    <div class="form-group" style="padding-left:10px; margin-top:10px">        <button type="button" class="btn btn-default"                ares-authorize="patientPrescription.history"                ng-click="switchState(\'patientPrescription.historyRecords\')">            <span class="glyphicon glyphicon-dashboard" aria-hidden="true"></span> 处方记录        </button>        <button type="button" class="btn btn-default" ares-not-archive                ares-authorize="patientPrescription.create"                sensors-enabled="true" sensors-event-name="PatientDrugOrder" sensors-event-type="新建处方"                ng-click="switchState(\'patientPrescription.createRecord\')">            <span class="glyphicon glyphicon-user" aria-hidden="true"></span> 新建处方        </button>    </div>    <div ui-view></div></div>');templateCache.put('/app/patient/views/patient-edit-view.html','<div class="ares-main-content" ares-clean-kendo>    <form id="patientForm" name="patientForm" class="form-horizontal" style="width:950px;padding:10px;">        <patient-form data-type="newedit"></patient-form>        <div class="form-group" style="padding-left:20px;margin-top:10px;">            <button type="button" class="btn btn-default" ng-click="cancel()">取消</button>            <button type="button" class="btn btn-primary" ng-click="ok()">保存患者</button>            <button type="button" class="btn btn-primary" ng-click="editRelation(\'add\')">新增关系</button>        </div>    </form>    <notification-upload-success></notification-upload-success></div>');templateCache.put('/app/patient/views/patient-followup-table-view.html','<div class="enyo ares-main-content patient-followup-table-view" ares-clean-kendo ares-patient-container>    <style scoped>        .tooltip-inner {            text-align: left !important;            max-width: 400px !important;        }        .patient-followup-table-view .k-grid .k-grid-header th {            background-color: #00A6C9;            border-radius: 0 !important;            color: #fff;            vertical-align: middle;            border: none;        }        .patient-followup-table-view .k-grid td {            border-left: none;            border-right: none;            height: 50px;        }        .patient-followup-table-view .patient-followup-list .k-grid-header-locked {            margin-right: -10px;        }        .patient-followup-table-view .patient-followup-list .k-grid-content-locked,        .patient-followup-table-view .patient-followup-list .k-grid-header .k-grid-header-locked {            float: right;            border-width: 0;        }        .patient-followup-table-view .patient-followup-list table td {            padding: 0 10px 0 10px;            text-align: left;        }        .patient-followup-table-view .patient-followup-list .action-btn {            font-size: 13px;            margin-right: 3px;        }        .patient-followup-table-view .patient-followup-list .action-btn:last-child {            margin: 0;        }        .patient-followup-table-view .overflow-content {            overflow: hidden;            text-overflow: ellipsis;            /*display: -webkit-box;*/            -webkit-line-clamp: 2;            -webkit-box-orient: vertical;            /*margin-top: 5px;*/        }        .patient-followup-table-view .exceed-sign {            font-size: 10px;            color: white;            background-color: red;            margin-left: 3px;            padding: 0 5px;        }    </style>    <div class="form-group enyo" style="padding-left:10px; margin-top:10px">        <!-- <button type="button" class="btn btn-default" ng-click="createFollowUpAppt()" sensors-enabled="true" sensors-event-name="PatientFollowup" sensors-event-type="复诊预约" ares-not-archive>            复诊预约        </button> -->        <button type="button" class="btn btn-default pull-right" style="width:80px;"            ares-authorize="patientFollowup.create" ng-click="onAddFollowup()" ares-not-archive>            新建随访        </button>        <!-- <button type="button" class="btn btn-default" ng-click="createFollowUpAppt()" sensors-enabled="true" sensors-event-name="PatientFollowup" sensors-event-type="新建预约" ares-not-archive>            新建预约        </button> -->    </div>    <div class="patient-followup-list"></div></div>');templateCache.put('/app/patient/views/patient-followup-view.html','<div>    <div ui-view></div></div>');templateCache.put('/app/patient/views/patient-health-insurance-view.html','<div class="patient-health-insurance-wrapper">    <div id="healthInsuranceList">    </div></div>');templateCache.put('/app/patient/views/patient-home-view.html','<div>    <div class="form-group" style="padding-left:10px;width:800px; margin-top:10px">        <button type="button" class="btn btn-default" ng-click="switchState(\'patient.edit\')"                ares-authorize="patientMgmt.edit" ares-not-archive>            <span class="glyphicon glyphicon-edit" aria-hidden="true"></span> 修改基本信息        </button>        <button type="button" class="btn btn-default" ng-click="createFollowUpAppt()"                ng-if="!allowCrossOfficeAppt" ares-not-archive>            <span class="glyphicon glyphicon-plus-sign" aria-hidden="true"></span> 创建预约        </button>        <div class="btn-group" ng-if="allowCrossOfficeAppt&&!isOnlyShowCrossOfficeAppt" ares-not-archive>            <button type="button" class="btn btn-default default-btn"                    ng-click="createFollowUpAppt()">                <span class="glyphicon glyphicon-plus-sign"></span> 创建预约            </button>            <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">                <span class="caret"></span>                <span class="sr-only">Toggle Dropdown</span>            </button>            <ul class="dropdown-menu command-list">                <li>                    <a href="" ng-click="createCrossOfficeAppt()">                        <span class="glyphicon glyphicon-new-window"></span> 创建跨诊所预约                    </a>                </li>            </ul>        </div>        <div class="btn-group" ng-if="isOnlyShowCrossOfficeAppt" ares-not-archive>            <button type="button" class="btn btn-default default-btn"                    ng-click="createCrossOfficeAppt()">                <span class="glyphicon glyphicon-plus-sign"></span> 创建跨诊所预约            </button>        </div>        <button type="button" class="btn btn-default" ng-if="patient.marketCenterAccount" ares-authorize="scrmMgmt.message" ng-click="patientConversation()">            <span class="glyphicon glyphicon-comment" aria-hidden="true"></span> 微信对话        </button>        <div ng-if="!patient.isInactive" style="display:inline" ares-authorize="patientCenter.deletePatient">            <button type="button" class="btn btn-default" ng-click="deletePatient()" ng-if="!patient.isArchived">                <span class="glyphicon glyphicon-trash" aria-hidden="true"></span> 删除患者            </button>            <button type="button" class="btn btn-default" ng-click="undoArchive()" ng-if="patient.isArchived">                <span class="icon-key" aria-hidden="true"></span> 解除归档            </button>        </div>        <button type="button" class="btn btn-default" ng-click="showPatientChangeLog(patient.id)"                ares-authorize="patientMgmt.edit" ares-not-archive style="float:right;">            <span class="glyphicon glyphicon-eye-open" aria-hidden="true"></span> 查看日志        </button>    </div>    <div ui-view></div></div>');templateCache.put('/app/patient/views/patient-info-record-view.html','<div id="patient-info-record-wrap" class="patient-action-info" ares-clean-kendo>    <patient-info-record-action-view></patient-info-record-action-view>    <patient-info-base-block-view></patient-info-base-block-view>    <patient-info-extra-source-block-view ng-if="isPatientExtraSourceEnabled"></patient-info-extra-source-block-view>    <patient-info-client-relation-block-view></patient-info-client-relation-block-view>    <patient-info-examination-block-view></patient-info-examination-block-view>    <patient-info-first-visit-block-view></patient-info-first-visit-block-view></div>');templateCache.put('/app/patient/views/patient-print-history-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">{{title}}</h4>    </div>    <div class="modal-body ares-dialog-body" style="padding:5px;">        <div>            <table style="width:100%;padding-left: 10px;">                <tr>                    <td style="width: 130px;">                        <input type="checkbox" id="queryByTimespan" ng-checked="queryByTimespan" ng-click="toggleQuery()" checked="checked">按就诊时间段查询                    </td>                    <td style="width: 130px;padding-left: 10px;">                        <input id="startDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.startDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px;" ng-disabled="!queryByTimespan">                    </td>                    <td style="padding-left: 5px;width: 20px;" ng-hide="defaultSelect">-</td>                    <td style="width: 130px; " ng-hide="defaultSelect">                        <input id="endDatePicker" type="text" class="form-control" kendo-date-picker k-ng-model="timeSpan.endDate" k-format="\'yyyy-MM-dd\'" k-parse-formats="[\'yyyyMMdd\']" style="width: 130px; " ng-disabled="!queryByTimespan">                    </td>                    <td>                        <button type="button" class="btn btn-default" ng-click="query()" style="margin-left:20px;">                            <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                        </button>                    </td>                </tr>            </table>        </div>        <div id="chargeOrderList" style="margin-top:5px"></div>    </div>    <div class="modal-footer ares-dialog-footer" style="height: 50px;">        <div>            <table style="width:100%;">                <tbody>                    <tr>                        <td width="100%" align="center" style="vertical-align: middle;">                            <button class="btn btn-default" print-div="{{templateType}}" ng-disabled="addChargeOrderIds.length==0">                                <span class="glyphicon glyphicon-print" aria-hidden="true"></span> 打印                            </button>                        </td>                    </tr>                </tbody>            </table>        </div>    </div>    <notification-upload-success></notification-upload-success>    <div id="A4HistoryTemplateDetail" style="display: none;">        <style scoped>            .titleFont {                font-size: 10px;                font-family: SimHei;            }            .boldFont {                font-weight: bolder;                font-family: SimHei;            }        </style>        <div id="templateBody" style="font-size: smaller; padding: 0 130px 0 10px; width: 90%;" ng-style="{\'margin\':templateStyle}">            <div style="text-align: center; font-size: 20px;" class="boldFont">{{office.name}}.历史账单明细</div>            <div style="border-bottom: 3px solid black;">                <table style="width: 100%;">                    <tr>                        <td class="titleFont" width="45%"><span class="boldFont">姓  名 </span>{{selectedOrder.patientName}}</td>                        <td class="titleFont" width="35%"><span class="boldFont">病历号 </span>{{selectedOrder.privateId}}</td>                    </tr>                    <tr>                        <td class="titleFont" width="20%"><span class="boldFont">打印时间 </span>{{selectedOrder.date|toLongDateTimeString}}</td>                    </tr>                </table>            </div>            <div style="width: 98%">                <table style="width: 100%">                    <thead style="border-bottom: 1px solid black;">                        <tr>                            <th width="25%" style="text-align: left; font-weight: bolder;" class="titleFont">挂号时间</th>                            <th width="35%" style="text-align: left; font-weight: bolder;" class="titleFont">项目明细</th>                            <th width="10%" style="text-align: left; font-weight: bolder;" class="titleFont">单价</th>                            <th width="10%" style="text-align: left; font-weight: bolder;" class="titleFont">数量</th>                            <th width="10%" style="text-align: left; font-weight: bolder;" class="titleFont">金额</th>                            <th width="10%" style="text-align: left; font-weight: bolder;" class="titleFont">折后金额</th>                        </tr>                    </thead>                    <tbody style="width: 100%; border-bottom: 1px solid black;">                        <tr ng-repeat="item in selectedOrder.detailList">                            <td widtd="25%" style="text-align: left; font-weight: bolder;" class="titleFont">{{item.checkInDate}}</td>                            <td widtd="35%" style="text-align: left; font-weight: bolder;" class="titleFont">{{item.itemName}}</td>                            <td widtd="10%" style="text-align: left; font-weight: bolder;" class="titleFont">{{item.price}}</td>                            <td widtd="10%" style="text-align: left; font-weight: bolder;" class="titleFont">{{item.count}}</td>                            <td widtd="10%" style="text-align: left; font-weight: bolder;" class="titleFont">{{item.actualPrice}}</td>                            <td widtd="10%" style="text-align: left; font-weight: bolder;" class="titleFont">{{item.discountPrice}}</td>                        </tr>                    </tbody>                </table>            </div>            <div style="width: 100%; border-bottom: 3px solid black;"></div>            <div style="width: 100%">                <table style="float: right">                    <tr>                        <td class="titleFont" width="60%"><span class="boldFont">应收合计: </span>{{priceToFixed(selectedOrder.finalPrice)}}</td>                    </tr>                    <tr>                        <td class="titleFont" width="60%"><span class="boldFont">实收合计: </span>{{priceToFixed(selectedOrder.actualPrice)}}</td>                    </tr>                    <tr>                        <td class="titleFont" width="60%"><span class="boldFont">欠款合计: </span>{{priceToFixed(selectedOrder.overdue)}}</td>                    </tr>                </table>            </div>        </div>    </div>    <div id="A4HistoryTemplateRecord" style="display: none;">        <style scoped>            .titleFont {                font-size: 10px;                font-family: SimHei;            }            .boldFont {                font-weight: bolder;                font-family: SimHei;            }            .fontsize {                font-size: 14px;            }        </style>        <div id="templateBody" style="font-size:smaller;padding:0 130px 0 10px; width:90%;" ng-style="{\'margin\':templateStyle}">            <div style="text-align: center; font-size: 20px;" class="boldFont">{{office.name}}.历史账单记录</div>            <div style="border-bottom:3px solid black;">                <table style="width:100%;">                    <tr>                        <td class="titleFont" width="45%"><span class="boldFont">姓  名 </span>{{selectedOrder.patientName}}</td>                        <td class="titleFont" width="35%"><span class="boldFont">病历号 </span>{{selectedOrder.privateId}}</td>                    </tr>                    <tr>                        <td class="titleFont" width="20%"><span class="boldFont">打印时间 </span>{{selectedOrder.date|toLongDateTimeString}}</td>                    </tr>                </table>            </div>            <div style="width:98%">                <table style="width:100%">                    <thead style="border-bottom: 1px solid black;">                        <tr>                            <th width="25%" style="text-align:left;font-weight:bolder;" class="titleFont">就诊时间</th>                            <th width="25%" style="text-align:left;font-weight:bolder;" class="titleFont">收款时间</th>                            <th width="10%" style="text-align:left;font-weight:bolder;" class="titleFont">操作诊所</th>                            <th width="8%" style="text-align:left;font-weight:bolder;" class="titleFont">医生</th>                            <th width="8%" style="text-align:left;font-weight:bolder;" class="titleFont">原价</th>                            <th width="8%" style="text-align:left;font-weight:bolder;" class="titleFont">优惠</th>                            <th width="8%" style="text-align:left;font-weight:bolder;" class="titleFont">应收</th>                            <th width="8%" style="text-align:left;font-weight:bolder;" class="titleFont">实收</th>                        </tr>                    </thead>                    <tbody style="width: 100%; border-bottom: 1px solid black;">                        <tr ng-repeat="item in selectedOrder.chargeOrderHistory">                            <td widtd="25%" ng-class="{fontsize:item.isSourceChargeOrder}" style="text-align: left; font-weight: bolder;" class="titleFont">{{item.visitTime}}</td>                            <td widtd="25%" ng-class="{fontsize:item.isSourceChargeOrder}" style="text-align:left;font-weight:bolder;" class="titleFont">{{item.payDateTime|toDateTimeString}}</td>                            <td widtd="10%" ng-class="{fontsize:item.isSourceChargeOrder}" style="text-align: left; font-weight: bolder;" class="titleFont">{{item.officeName}}</td>                            <td widtd="8%" ng-class="{fontsize:item.isSourceChargeOrder}" style="text-align: left; font-weight: bolder;" class="titleFont"><span ng-if="item.isSourceChargeOrder">{{item.doctorName}}</span></td>                            <td widtd="8%" ng-class="{fontsize:item.isSourceChargeOrder}" style="text-align:left;font-weight:bolder;" class="titleFont"><span ng-if="item.isSourceChargeOrder">{{item.planPrice}}</span></td>                            <td widtd="8%" ng-class="{fontsize:item.isSourceChargeOrder}" style="text-align:left;font-weight:bolder;" class="titleFont"><span ng-if="item.isSourceChargeOrder">{{item.discountPrice}}</span></td>                            <td widtd="8%" ng-class="{fontsize:item.isSourceChargeOrder}" style="text-align:left;font-weight:bolder;" class="titleFont"><span ng-if="item.isSourceChargeOrder">{{item.planPrice-item.discountPrice}}</span></td>                            <td widtd="8%" ng-class="{fontsize:item.isSourceChargeOrder}" style="text-align:left;font-weight:bolder;" class="titleFont">{{item.actualPrice}}</td>                        </tr>                    </tbody>                </table>            </div>            <div style="width: 100%; border-bottom: 3px solid black;"></div>            <div style="width: 100%">                <table style="float: right">                    <tr>                        <td class="titleFont" width="60%"><span class="boldFont">应收合计: </span>{{priceToFixed(selectedOrder.finalPrice)}}</td>                    </tr>                    <tr>                        <td class="titleFont" width="60%"><span class="boldFont">实收合计: </span>{{priceToFixed(selectedOrder.actualPrice)}}</td>                    </tr>                    <tr>                        <td class="titleFont" width="60%"><span class="boldFont">欠款合计: </span>{{priceToFixed(selectedOrder.overdue)}}</td>                    </tr>                </table>            </div>        </div>    </div></div>');templateCache.put('/app/patient/views/patient-record-view.html','<div class="ares-main-content" ares-clean-kendo>    <style scoped>        .frm .control-label {            margin-bottom: 25px;            text-align: left;            margin-left: 40px;            max-width: 100px;        }        .tab-rm .control-label {            vertical-align: middle;            text-align: left;            margin-left: 30px;        }        .tab-rm .control-content {            vertical-align: middle;            text-align: left;            margin-left: 10px;            max-width: 250px;        }        .frm .lb-width {            max-width: 80px;            margin-left: 0px;        }        .qf-marleft {            margin-left: 15px;        }        .tab-rm .form-group {            margin: 0px;        }        .bodycheck-lable {            padding: 0;            top: 8px;            vertical-align: top;            display: inline;            margin-right: 30px;        }        .span-patient-tag {            width: 17px;            height: 17px;            color: white;            float: left;            text-align: center;            line-height: 17px;            margin-right: 5px;            margin-top: 8px;        }    </style>    <form id="patientForm" name="patientForm" class="form-horizontal" style="width:800px;padding:10px;" ng-show="!isEditMode">        <fieldset>            <legend>1.基本信息</legend>            <table class="tab-rm">                <tr>                    <td width="100">                        <label class="control-label control-label2">患者类型</label>                    </td>                    <td width="200" height="30">                        <div class="form-group">                            <div>                                <label class="control-content">{{patient.patientType}}</label>                                <button type="button" class="btn btn-default" ng-click="changePatientType()" ares-not-archive                                        ng-if="!isGroup&&isPatientTypeChangable" style="margin-left:20px;">                                    <span class=" glyphicon glyphicon-transfer" aria-hidden="true"></span> 转换类型                                </button>                            </div>                        </div>                    </td>                </tr>                <tr>                    <td width="100">                        <label class="control-label control-label2">病历号</label>                    </td>                    <td width="200" height="30">                        <div class="form-group">                            <label class="control-content">{{patient.privateId}}</label>                        </div>                    </td>                    <td rowspan="6" colspan="2" width="300">                        <div class="form-group" style="height: 200px; width: 200px; MARGIN-RIGHT: auto; text-align: center; MARGIN-LEFT: 25px; line-height: 200px; vertical-align: middle; margin-bottom: 20px; border: 1px solid lightgray; ">                            <a href="" ng-click="onClickFileDialog(\'load\')" target="_blank" style="max-width:100%;max-height:100%; vertical-align: middle;">                                <img ng-src="{{picture.filePath}}" style="max-height: 200px; max-width: 100%; margin: 0 auto; vertical-align: middle; position: static; top: -50%; left: -50%;" />                            </a>                        </div>                    </td>                </tr>                <tr>                    <td>                        <label for="otherPrivateId" class="control-label">其他病历号</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{patient.otherPrivateId}}</label>                        </div>                    </td>                </tr>                <tr>                    <td>                        <label class="control-label control-label2">姓名</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{patient.name}}</label>                        </div>                    </td>                </tr>                <tr>                    <td>                        <label class="control-label control-label2">昵称</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{patient.nickName}}</label>                        </div>                    </td>                </tr>                <tr>                    <td>                        <label class="control-label">出生年月日</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{patient.birth | toDateString}}</label>                        </div>                    </td>                </tr>                <tr>                    <td>                        <label class="control-label">年龄</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{patient.birth | toAgeYearString}}</label>                        </div>                    </td>                </tr>                <tr>                    <td>                        <label class="control-label">性别</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{patient.sex | toSexString}}</label>                        </div>                    </td>                </tr>                <tr>                    <td style="vertical-align:top;">                        <label class="control-label">手机</label>                    </td>                    <td>                        <div class="form-group" ng-repeat="item in mobileList">                            <label class="control-content" ng-show="item.mobile!=\'\'">                                <span ng-show="isShowPatientContact">{{item.mobileType}}：{{item.mobile}}</span>                                <span ng-show="!isShowPatientContact">{{item.mobileType}}：{{item.mobile}}</span>                                <span class="glyphicon glyphicon-eye-open" style="cursor:pointer;" ng-show="isShowViewContactButton&&!isShowPatientContact" ng-click="showContactView()"></span>&nbsp;                                <span class="glyphicon glyphicon-th-list" style="cursor:pointer;" ng-show="isShowViewLogButton" ng-click="viewPatientContactLog()"></span>&nbsp;                            </label>                        </div>                    </td>                    <td>                        <label class="control-label">专属客服</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{patient.attendantName}}</label>                        </div>                    </td>                </tr>                <tr>                    <td style="vertical-align:top;">                        <label class="control-label">电话</label>                    </td>                    <td>                        <div class="form-group" ng-repeat="item in phoneNumberList">                            <label class="control-content" ng-show="item.mobile!=\'\'">                                <span ng-show="isShowPatientContact">{{item.mobileType}}：{{item.mobile}}</span>                                <span ng-show="!isShowPatientContact">{{item.mobileType}}：{{item.mobile}}</span>                                <span class="glyphicon glyphicon-eye-open" style="cursor:pointer;" ng-show="isShowViewContactButton&&!isShowPatientContact" ng-click="showContactView()"></span>&nbsp;                                <span class="glyphicon glyphicon-th-list" style="cursor:pointer;" ng-show="isShowViewLogButton" ng-click="viewPatientContactLog()"></span>&nbsp;                            </label>                        </div>                    </td>                    <td>                        <label class="control-label">咨询师</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">                                {{patient.consultantName}} &nbsp;                                <img ng-show="patient.consultantName&&(patient.consultantId==patient.advisorId)" alt="专属顾问" title="专属顾问" style="width:40px;height:40px;border:0;margin:0;border-radius:50%;" src="/app-resource/images/user-mini.png">&nbsp;                                <a ng-show="patient.consultantName&&(patient.consultantId!=patient.advisorId)" ng-click="updateAdvisor(patient,patient.consultantId)">设为专属顾问</a>                                <a ng-show="patient.consultantName&&(patient.consultantId==patient.advisorId)" ng-click="cancelAdvisor(patient)">取消专属顾问</a>                            </label>                        </div>                    </td>                </tr>                <tr>                    <td>                        <label class="control-label">初诊日期</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{patient.firstVisit|toDateString}}</label>                        </div>                    </td>                    <td>                        <label class="control-label">初诊医生</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{patient.doctorName}}</label>                        </div>                    </td>                </tr>                <tr>                    <td>                        <label class="control-label">国籍</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{patient.nationality}}</label>                        </div>                    </td>                    <td>                        <label class="control-label">患者来源</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{patient.sourceTypeLevel1}}</label>                            <label class="control-content">{{patient.sourceType}}</label>                            <label class="control-content">{{patient.refereeName}}</label>                        </div>                    </td>                </tr>                <tr ng-show="enableReferee || enableProvider">                    <td>                        <label ng-show="enableReferee" class="control-label">推荐人姓名</label>                        <label ng-show="enableProvider" class="control-label">推荐员工</label>                    </td>                    <td ng-show="enableReferee || enableProvider">                        <div class="form-group">                            <label class="control-content">{{patient.refereeName}}</label>                            <button type="button" class="btn btn-default btn-xs" ng-click="gotoPatient()" ng-show="patient.refereeId > 0 && enableReferee" style="margin-top: 10px;" ares-not-archive>打开</button>                        </div>                    </td>                    <td ng-show="enableReferee || enableProvider">                        <label class="control-label">手机号/推荐码</label>                    </td>                    <td ng-show="enableReferee || enableProvider">                        <div class="form-group">                            <label class="control-content">{{patient.refereeMobileOrCode}}</label>                        </div>                    </td>                </tr>                <tr>                    <td>                        <label class="control-label">身份证号</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{patient.identityCard}}</label>                        </div>                    </td>                    <td>                        <label class="control-label">邮箱</label>                    </td>                    <td>                        <div class="form-group">                            <span ng-model="patient.email" />                            <label class="control-content">{{patient.email}}</label>                        </div>                    </td>                </tr>                <tr>                    <td>                        <label class="control-label">QQ</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{patient.qq}}</label>                        </div>                    </td>                    <td>                        <label class="control-label">微信</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content" ng-show="patient.marketCenterAccount">已绑定</label>                            <label class="control-content" ng-show="!patient.marketCenterAccount">未绑定</label>                            <button type="button" class="btn btn-default btn-xs" ng-click="getPatientQrcode()" style="margin-left:0px;margin-top: 10px;" ng-hide="patient.marketCenterAccount">                                绑定                            </button>                            <button type="button" class="btn btn-default btn-xs" ng-click="unBindPatientWeiXin()" style="margin-left:0px;margin-top: 10px;" ng-show="patient.marketCenterAccount">                                解除绑定                            </button>                        </div>                    </td>                </tr>                <tr>                    <td>                        <label class="control-label">家庭住址</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">                                {{patient.familyAddress.province}}                                {{patient.familyAddress.city}}                                {{patient.familyAddress.district}}                                {{patient.homeAddress}}                            </label>                        </div>                    </td>                    <td>                        <label class="control-label control-label2">会员卡</label>                    </td>                    <td>                        <div class="form-group">                            <div ng-show="isShareMember||patient.membershipId">                                <label class="control-content">({{membership.membershipTypeName}}) {{membership.cardNumber}}<span ng-show="isShareMember">[共享]</span></label>                                <a href="" ng-click="goToMembershipDetail()" ares-authorize="patientMembership.browse" style="line-height:20px"><label style="height:10px; vertical-align: middle;">详情</label></a>                            </div>                            <div ng-show="!isShareMember&&!patient.membershipId">                                <label class="control-content">无</label>                                <button type="button" class="btn btn-default btn-xs" ng-click="openCard()" style="margin-top: 10px;" ares-authorize="patientMembership.browse" ares-not-archive>开卡</button>                                <!--<a href="" ng-click="openCard()" ares-authorize="patientMgmt.membership" style="line-height:21px"><label style="height:10px; vertical-align: middle;">开卡</label></a>-->                            </div>                        </div>                    </td>                </tr>                <tr>                    <td>                        <label class="control-label">责任医生</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">                                {{patient.dutyDoctorName}}&nbsp;                                <img ng-show="patient.dutyDoctorName&&(patient.dutyDoctorId==patient.advisorId)" alt="专属顾问" title="专属顾问" style="width:40px;height:40px;border:0;margin:0;border-radius:50%;" src="/app-resource/images/user-mini.png">&nbsp;                                <a ng-show="patient.dutyDoctorName&&(patient.dutyDoctorId!=patient.advisorId)" ng-click="updateAdvisor(patient,patient.dutyDoctorId)">设为专属顾问</a>                                <a ng-show="patient.dutyDoctorName&&(patient.dutyDoctorId==patient.advisorId)" ng-click="cancelAdvisor(patient)">取消专属顾问</a>                            </label>                        </div>                    </td>                    <td>                        <label class="control-label">推荐人数</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{refereeCount}}</label>                            <button type="button" class="btn btn-default btn-xs" ng-click="showReferee()" style="margin-top: 10px;" ares-not-archive>打开</button>                        </div>                    </td>                </tr>                <tr>                    <td>                        <label class="control-label">网电咨询师</label>                    </td>                    <td>                        <div class="form-group">                            <div class="form-group">                                <label class="control-content">                                    {{patient.extension.onlineConsultantName}}                                </label>                            </div>                        </div>                    </td>                    <td>                        <label class="control-label">血型</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{patient.extension.bloodType}}</label>                        </div>                    </td>                </tr>                <tr>                    <td>                        <label class="control-label">民族</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{patient.extension.nation}}</label>                        </div>                    </td>                    <td>                        <label class="control-label">婚姻</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{patient.extension.marriage | toMarriageString}}</label>                        </div>                    </td>                </tr>                <tr>                    <td>                        <label class="control-label">籍贯</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{patient.extension.nativePlace}}</label>                        </div>                    </td>                    <td>                        <label class="control-label">宗教信仰</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{patient.extension.religion}}</label>                        </div>                    </td>                </tr>                <tr>                    <td>                        <label class="control-label">职业</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{patient.extension.job}}</label>                        </div>                    </td>                    <td>                        <label class="control-label">其他证件</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{patient.extension.passportNo}}</label>                        </div>                    </td>                </tr>                <tr>                    <td>                        <label class="control-label">监护人</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{patient.guardian.name}}</label>                        </div>                    </td>                    <td>                        <label class="control-label">文化程度</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content">{{patient.extension.educationLevel | toEducationLevelString}}</label>                        </div>                    </td>                </tr>            </table>            <table class="tab-rm">                <tr>                    <td style="vertical-align: top;">                        <label class="control-label">患者备注</label>                    </td>                    <td>                        <div class="form-group">                            <label class="control-content" style="word-break: break-all;">{{patient.notes}}</label>                        </div>                    </td>                </tr>            </table>        </fieldset>        <fieldset class="fie-rm" style="margin-top:20px">            <legend>2.全身检查</legend>            <table style="width:100%;">                <tr>                    <td style="width:150px;padding-left: 40px;    height: 50px;">                        <label class="control-label" style="padding: 0;">既往史:</label>                    </td>                    <td>                        <input class="not-ignore form-control" disabled="disabled"                                ng-model="bodycheck.disease" style="width:420px;max-width:460px;">                    </td>                </tr>                <tr>                    <td style="width:150px;padding-left: 40px;    height: 50px;">                        <label class="control-label" style="padding: 0;">过敏源:</label>                    </td>                    <td>                        <input class="not-ignore form-control" disabled="disabled" ng-model="bodycheck.medicine" style="width:420px;max-width:460px;">                    </td>                </tr>                <tr>                    <td style="width:150px;padding-left: 40px;    height: 50px;">                        <label class="control-label" style="padding: 0;">用药史:</label>                    </td>                    <td>                        <input class="not-ignore form-control" disabled="disabled" ng-model="bodycheck.medicineNow" style="width:420px;max-width:460px;">                    </td>                </tr>                <tr ng-show="patient.sex==2">                    <td style="padding-left: 40px;height: 50px;" colspan="2">                        <div>                            <label class="control-label">怀孕:</label>                            <div class="input-container " style="padding-top:5px; max-width:110px;display: inline;">                                <label class="checkbox" style="display:inline;margin-left:20px">                                    <input type="radio" name="IsPregnant" disabled="disabled" id="PreYes" value="1" ng-checked="bodycheck.isPregnant==\'是\'"> 是                                </label>                                <label class="checkbox" style="display: inline; margin-left: 20px">                                    <input type="radio" name="IsPregnant" disabled="disabled" id="PreNo" value="2" ng-checked="bodycheck.isPregnant==\'否\'"> 否                                </label>                            </div>                            <label class="control-label" style="margin-left:50px;margin-right:30px;">孕龄:</label>                            <div class="input-container" style="display: inline;">                                <select id="GestationalAge" class="not-ignore form-control" style="width:80px;display: inline;" disabled="disabled" ng-model="bodycheck.gestationalAge">                                    <option value="0">0</option>                                    <option value="1">1</option>                                    <option value="2">2</option>                                    <option value="3">3</option>                                    <option value="4">4</option>                                    <option value="5">5</option>                                    <option value="6">6</option>                                    <option value="7">7</option>                                    <option value="8">8</option>                                    <option value="9">9</option>                                    <option value="10">10</option>                                    <option value="11">11</option>                                    <option value="12">12</option>                                    <option value="13">13</option>                                    <option value="14">14</option>                                    <option value="15">15</option>                                    <option value="16">16</option>                                    <option value="17">17</option>                                    <option value="18">18</option>                                    <option value="19">19</option>                                    <option value="20">20</option>                                    <option value="21">21</option>                                    <option value="22">22</option>                                    <option value="23">23</option>                                    <option value="24">24</option>                                    <option value="25">25</option>                                    <option value="26">26</option>                                    <option value="27">27</option>                                    <option value="28">28</option>                                    <option value="29">29</option>                                    <option value="30">30</option>                                    <option value="31">31</option>                                    <option value="32">32</option>                                    <option value="33">33</option>                                    <option value="34">34</option>                                    <option value="35">35</option>                                    <option value="36">36</option>                                    <option value="37">37</option>                                    <option value="38">38</option>                                    <option value="39">39</option>                                    <option value="40">40</option>                                </select>                                <label class="control-label" style="margin-left:20px;display: inline;">周</label>                            </div>                            <label class="control-label" style="margin-left:50px;">哺乳:</label>                            <div class="input-container" style="display: inline;">                                <label class="checkbox" style="display:inline;margin-left:20px">                                    <input type="radio" name="IsLactation" disabled="disabled" id="BuYes" value="1" ng-click="setLac(true)" ng-checked="bodycheck.isLactation==\'是\'"> 是                                </label>                                <label class="checkbox" style="display: inline; margin-left: 20px">                                    <input type="radio" name="IsLactation" disabled="disabled" id="BuNo" value="2" ng-click="setLac(false)" ng-checked="bodycheck.isLactation==\'否\'"> 否                                </label>                            </div>                        </div>                    </td>                </tr>                <tr>                    <td style="padding-left: 40px;height: 50px;" colspan="2">                        <label class="control-label" style="margin-right:20px;">刷牙:</label>                        <div class="input-container" style="display: inline;">                            <select id="BrushTimeDay" class="not-ignore form-control" style="display: inline;width:50px;" disabled="disabled" ng-model="bodycheck.brushTimeDay">                                <option value="0">0</option>                                <option value="1">1</option>                                <option value="2">2</option>                                <option value="3">3</option>                                <option value="4">4</option>                                <option value="5">5</option>                            </select>                        </div>                        <label class="control-label" style="margin-left: 5px;">次/天</label>                        <div class="input-container" style=" margin-left:5px;display: inline;">                            <select id="BrushTimeMinute" class="not-ignore form-control" disabled="disabled" style="width:50px;display: inline;" ng-model="bodycheck.brushTimeMinute">                                <option value="0">0</option>                                <option value="1">1</option>                                <option value="2">2</option>                                <option value="3">3</option>                                <option value="4">4</option>                                <option value="5">5</option>                                <option value="6">6</option>                                <option value="7">7</option>                                <option value="8">8</option>                                <option value="9">9</option>                                <option value="10">10</option>                            </select>                        </div>                        <label class="control-label" style="margin-left: 5px;margin-right: 30px;">分钟/次</label>                        <label class="checkbox control-label bodycheck-lable">                            <input type="checkbox" id="IsElectricBrush" disabled="disabled" ng-model="bodycheck.isElectricBrush">电动牙刷                        </label>                        <label class="checkbox control-label bodycheck-lable">                            <input type="checkbox" id="IsDentalflos" disabled="disabled" ng-model="bodycheck.isDentalflos">牙线                        </label>                        <label class="checkbox control-label bodycheck-lable">                            <input type="checkbox" id="IsCreviceBrush" disabled="disabled" ng-model="bodycheck.isCreviceBrush">牙缝刷                        </label>                        <label class="checkbox control-label bodycheck-lable">                            <input type="checkbox" id="IsMouthwashSlobber" disabled="disabled" ng-model="bodycheck.isMouthwashSlobber">漱口水                        </label>                        <label class="checkbox control-label bodycheck-lable">                            <input type="checkbox" id="IsToothpick" disabled="disabled" ng-model="bodycheck.isToothpick">牙签                        </label>                    </td>                </tr>                <tr>                    <td style="padding-left: 40px;height: 50px;" colspan="2">                        <label class="control-label" style="margin-right:20px;">吸烟:</label>                        <div class="input-container" style="display: inline;">                            <select id="SmokeTimeDay" class="not-ignore form-control" disabled="disabled" style="display: inline;width:80px;" ng-model="bodycheck.smokeTimeDay">                                <option value="0">0</option>                                <option value="1">1</option>                                <option value="2">2</option>                                <option value="3">3</option>                                <option value="4">4</option>                                <option value="5">5</option>                                <option value="6">6</option>                                <option value="7">7</option>                                <option value="8">8</option>                                <option value="9">9</option>                                <option value="10">10</option>                                <option value="11">11</option>                                <option value="12">12</option>                                <option value="13">13</option>                                <option value="14">14</option>                                <option value="15">15</option>                                <option value="16">16</option>                                <option value="17">17</option>                                <option value="18">18</option>                                <option value="19">19</option>                                <option value="20">20</option>                            </select>                        </div>                        <label class="control-label" style="margin-left: 5px;margin-right: 40px;">次/天</label>                        <label class="checkbox control-label bodycheck-lable">                            <input type="checkbox" id="IsMolarTooth" disabled="disabled" ng-model="bodycheck.isMolarTooth">夜磨牙                        </label>                        <label class="checkbox control-label bodycheck-lable">                            <input type="checkbox" id="IsLikeHardFoot" disabled="disabled" ng-model="bodycheck.isLikeHardFoot">喜硬食                        </label>                        <label class="checkbox control-label bodycheck-lable">                            <input type="checkbox" id="IsExtraction" disabled="disabled" ng-model="bodycheck.isExtraction">拔牙史                        </label>                        <label class="checkbox control-label bodycheck-lable">                            <input type="checkbox" id="IsOrthodontics" disabled="disabled" ng-model="bodycheck.isOrthodontics">正畸史                        </label>                        <label class="checkbox control-label bodycheck-lable">                            <input type="checkbox" id="IsRepair" disabled="disabled" ng-model="bodycheck.isRepair">修复史                        </label>                        <label class="checkbox control-label bodycheck-lable">                            <input type="checkbox" id="IsATooth" disabled="disabled" ng-model="bodycheck.isaTooth">种牙史                        </label>                        <label class="checkbox control-label bodycheck-lable">                            <input type="checkbox" id="IsDentizing" disabled="disabled" ng-model="bodycheck.isDentizing">补牙史                        </label>                    </td>                </tr>            </table>        </fieldset>        <fieldset>            <legend>3.首诊信息</legend>            <div class="frm">                <div class="form-group">                    <label class="control-label col-sm-3" for="chiefComplaint">主诉:</label>                    <div class="col-sm-8 input-container">                        <div class="form-group">                            <label style="margin-top:5px;width:450px">{{bodycheck.chiefComplaint}}</label>                        </div>                    </div>                </div>                <div class="form-group">                    <label class="control-label col-sm-3" for="symptom">症状:</label>                    <div class="col-sm-8 input-container">                        <div class="form-group">                            <label style="margin-top: 5px; width: 450px">{{bodycheck.symptom}}</label>                        </div>                    </div>                </div>                <div class="form-group">                    <label class="control-label col-sm-3" for="roughlyEvaluate">初步判断:</label>                    <div class="col-sm-8 input-container">                        <div class="form-group">                            <label style="margin-top: 5px; width: 450px">{{bodycheck.roughlyEvaluate}}</label>                        </div>                    </div>                </div>            </div>        </fieldset>        <fieldset>            <legend>4.患者标签</legend>            <div class="frm">                <div class="form-group">                    <label class="control-label  col-sm-3">患者标签:</label>                    <div class="col-sm-8">                        <label class="checkbox inline col-sm-1" ng-repeat="tag in patient.tagList"                               ng-style="{\'background-color\':tag.itemValue}" style="font-size: 16px; font-weight: normal; text-align: center; width: 130px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; " title="{{tag.itemName}}">                            <span>{{tag.itemName}}</span>                        </label>                        <span class="span-patient-tag" ng-repeat="tag in patient.hidenTagList" title="{{tag.itemName}}" ng-style="{\'background-color\':tag.itemValue}">{{tag.abbreviation}}</span>                    </div>                </div>            </div>        </fieldset>        <fieldset>            <legend>5.亲友关系</legend>            <script id="patientNameTemplate" type="text/x-kendo-template">                <a href="" title="查看患者信息" onclick="PatientCtrl_goToPatient(this)">#: patientName #</a>            </script>            <div id="PatientRelation">            </div>        </fieldset>    </form></div>');templateCache.put('/app/patient/views/patient-relation-edit-view.html','<div ares-modal-dragable ares-clean-kendo id="patient-relation-edit-wrap">    <style>        #patient-relation-edit-wrap .ares-dialog-body .info-row {            margin-top: 20px;            font-size: 0;        }            #patient-relation-edit-wrap .ares-dialog-body .info-row:first-child {                margin-top: 0;            }            #patient-relation-edit-wrap .ares-dialog-body .info-row .notes-value .search-box {                padding-left: 0;                padding-right: 0;            }        #patient-relation-edit-wrap .ares-dialog-body .notes-title {            display: inline-block;            vertical-align: middle;            font-size: 14px;            font-weight: 400;            min-width: 70px;            margin: 0;            padding: 0;        }        #patient-relation-edit-wrap .ares-dialog-body .notes-value {            display: inline-block;            vertical-align: middle;            font-size: 14px;            margin: 0;            padding: 0;            width: 225px;        }        #patient-relation-edit-wrap .ares-dialog-body .notes-content .notes-title {            vertical-align: top;        }        #patient-relation-edit-wrap .ares-dialog-body .notes-content .notes-value {            vertical-align: top;        }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">{{ action==\'add\'?\'新增\':\'编辑\' }}亲友关系</h4>    </div>    <div class="modal-body ares-dialog-body" style="padding:20px;">        <div class="info-row" style="font-size:14px;">            <span class="notes-title">患者查询：</span>            <div class="notes-value">                <ares-patient-search ng-model="patient"                                     on-patient-selected="onPatientSelected"                                     is-global-search="false"></ares-patient-search>            </div>        </div>        <div class="info-row" style="font-size:14px;">            <patient-full-card patient="patient"></patient-full-card>        </div>        <div class="info-row">            <span class="notes-title">亲友关系：</span>            <div class="notes-value">                <select id="relationType" ng-model="relation.relationType" style="width:100%;"></select>            </div>        </div>        <div class="notes-content info-row">            <span class="notes-title">备注：</span>            <div class="notes-value">                <textarea class="form-control" rows="2"                          ng-model="relation.relationMark"                          placeholder="请输入备注"                          style="width:400px;max-width:400px;"></textarea>            </div>        </div>    </div>    <div class="modal-footer ares-dialog-footer" style="text-align:center;">        <button type="button" class="btn btn-primary" ng-click="save()">保存</button>        <button type="button" class="btn btn-default" ng-click="cancel()">取消</button>    </div></div>');templateCache.put('/app/patient/views/patient-revisit-record-view.html','<div class="col-lg-12" style="background: #F5F5F5; margin-top:3px;">    <style scoped>        .revisit-record-date-text {            font-size: 16px;        }        .revisit-record-office-text {            color: #cecece;            font-size: 14px;        }        .revisit-record-timeline-day {            padding-top: 1em;            padding-left: 0.5em;        }            .revisit-record-timeline-day .btn {                margin-bottom: 0;                margin-left: -10px;                margin-right: 0;            }        .revisit-record-consume-intention {            color: #00A6C9;        }        .view-dialog {            color: blue,;        }        .revisit-record-type-title {            font-family: SourceHanSansCN-Medium;            font-size: 16px;            color: #00b9b2;        }        .revisit-second-level-button-default-class {            cursor: pointer;            font-family: .PingFangSC-Regular;            background: #ffffff;            border: 1px solid #00a8cb;            font-size: 14px;            border-radius: 4px;            width: 76px;            height: 30px;            color: #00A8CB;        }        .revisit-second-level-button-hover-class {            cursor: pointer;            font-family: .PingFangSC-Regular;            background-color: #00a8cb;            border: 1px solid #00a8cb;            font-size: 14px;            border-radius: 4px;            width: 76px;            height: 30px;            color: white;        }        .revisit-third-level-button-default-class {            cursor: pointer;            font-family: .PingFangSC-Regular;            font-size: 14px;            color: #666a73;            text-align: center;            background: #ffffff;            border: 1px solid #e3e3e3;            border-radius: 4px;            width: 38px;            height: 30px;        }        .revisit-third-level-button-hover-class {            cursor: pointer;            font-family: .PingFangSC-Regular;            font-size: 14px;            color: #00a8cb;            text-align: center;            background: #ffffff;            border: 1px solid #00a8cb;            border-radius: 4px;            width: 38px;            height: 30px;        }    </style>    <!-- BEGIN TIMELINE CONTENT -->    <div class="revisit-record-timeline-day">        <i class="icon-custom-left"></i>        <div style="display:inline-block">            <button type="button" class="btn btn-primary f-16"><strong>回访记录</strong></button>            <button type="button" id="btnNewRevisit" class="revisit-second-level-button-default-class" style="margin-left: 520px;"                    ng-mouseenter="addMouseHoverClass($event)" ng-mouseleave="removeMouseHoverClass($event)"                    ng-click="createRevisit()" ares-authorize="patientMgmt.createRevisit">                新建回访            </button>        </div>    </div>    <section id="timeline">        <div class="timeline-block" ng-repeat="revisit in revisitList">            <div class="timeline-icon bg-primary" style="width:80px;border-radius:5px;">                <strong class="revisit-record-date-text">{{::revisit.orderDateTime | date:\'M月d日\'}}</strong><br />{{::revisit.orderDateTime | date:\'yyyy\'}}            </div>            <div class="timeline-content" style="padding: 10px;">                <div class="timeline-heading clearfix timeBox">                    <table>                        <tr>                            <td style="width: 550px">                                <h3 class="pull-left">                                    <div class="revisit-record-type-title">                                        <strong> {{revisit.type}} </strong>                                    </div>                                </h3>                            </td>                            <td>                                <button type="button" id="btnExecute" class="revisit-third-level-button-default-class" ng-mouseenter="addThirdLevelMouseHoverClass($event)" ng-mouseleave="removeThirdLevelMouseHoverClass($event)" ng-click="executeRevisit(revisit.id)" ng-show="revisit.canExecute">执行</button>                            </td>                            <td style="width: 7px" ng-show="revisit.canExecute&&revisit.canEdit"></td>                            <td>                                <button type="button" id="btnUpdate" class="revisit-third-level-button-default-class" ng-mouseenter="addThirdLevelMouseHoverClass($event)" ng-mouseleave="removeThirdLevelMouseHoverClass($event)" ng-click="editRevisit(revisit.id, revisit.state)" ng-show="revisit.canEdit">                                    修改                                </button>                            </td>                        </tr>                    </table>                </div>                <div class="timeline-body">                    <table>                        <tr style="vertical-align: top;"><td><strong>回访状态：</strong></td><td style="word-break: break-all; width: 85%">{{revisit.stateStr}}</td></tr>                        <tr style="vertical-align: top;"><td><strong>回访项目：</strong></td><td style="word-break: break-all; width: 85%"><span ng-repeat="code in revisit.transactions">[{{code.transactionName}}]&nbsp;&nbsp;</span></td></tr>                        <tr style="vertical-align: top;"><td><strong>回访内容：</strong></td><td style="word-break: break-all; width: 85%">{{revisit.content}}</td></tr>                        <tr style="vertical-align: top;"><td><strong>沟通方式：</strong></td><td style="word-break: break-all; width: 85%">{{revisit.method}}</td></tr>                    </table>                </div>                <div style="text-align: right">                    <i ng-hide="revisit.recordCreatedUser > 0" class="iconfont icon-jiqiren" style="color: #00a6c9;padding-top:0px;vertical-align:top;"></i>                    <span class="text-muted"><span ares-user-name="{{revisit.recordCreatedUser}}"></span>&nbsp;创建于 {{revisit.recordCreatedTime|toLongDateTimeString}}</span>                </div>            </div>        </div>        <div class="timeline-block" ng-show="revisitList.length==0">            <div class="timeline-icon bg-primary" style="left:18px;">                <i class="icon-picture"></i>            </div>            <div class="timeline-content">                <div class="timeline-heading clearfix">                    <h3 class="pull-left"><strong>无回访记录!</strong></h3>                </div>            </div>        </div>    </section></div>');templateCache.put('/app/patient/views/patient-txplan-edit-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">添加处置</h4>    </div>    <div class="modal-body ares-dialog-body">        <form id="addHandle" name="addHandle" class="form-horizontal">            <div class="form-group" style="padding-left:40px;">                <div class="col-sm-7" style="margin-left:-20px;margin-top:5px;">                    <label class="col-md-5" style="margin-top:2px;">按大类筛选:</label>                    <input id="handleSupCategoryList" kendo-drop-down-list="" k-on-change="onHandleSupCategorySelect(kendoEvent)" ng-model="defaultSupCategoryId" k-data-text-field="\'itemName\'" k-data-value-field="\'id\'" k-data-source="chargeSupCatagoryList" type="text" class="form-control" style="width:150px;margin-top:-5px;">                </div>                <div class="col-sm-7" style="margin-left:-20px;margin-top:20px;">                    <label class="col-md-5" style="margin-top:2px;">按小类筛选:</label>                    <input id="handleTypeList" kendo-drop-down-list="" k-on-change="onHandleTypeSelected(kendoEvent)" ng-model="defaultCategoryId" k-data-text-field="\'itemName\'" k-data-value-field="\'id\'" k-data-source="chargeCatagoryList" type="text" class="form-control" style="width:150px;margin-top:-5px;">                </div>                <div class="col-sm-5" style="margin-left:-20px;margin-top:15px">                    <input class="form-control" ng-model="chargeItemsFilter" ng-change="filteChargeItemByFilter()" placeholder="项目名称/拼音缩写" />                </div>            </div>            <div class="form-group" style="padding-left:50px;">                <div id="itemGrid" style="width:500px;height:550px;overflow:auto;"></div>            </div>        </form>    </div>    <div class="modal-footer ares-dialog-footer">        <button type="button" class="btn btn-default" ng-click="cancel()">取消</button>        <button type="button" class="btn btn-primary" ng-click="save()">确定</button>    </div></div>');templateCache.put('/app/patient/views/patient-txplan-view.html','<div class="ares-main-content" ares-clean-kendo>    <style>        .row > div {            box-sizing: border-box !important;        }        .div-selected {            background-color: #00A6C9;            color: white;        }        .div-default {            border-radius: 5px;            cursor: pointer;        }        .div-default-border {            border: 1px solid #dddddd;        }        .btn-hover:hover {            color: #319DB5 !important;            border: 1px solid #6AC4EC !important;            background-color: #F5F5F5 !important;        }            .btn-hover:hover a {                color: #319DB5 !important;            }            .btn-hover:hover .span-color {                color: red !important;            }        .cursor-hand {            cursor: pointer;        }        .table-status th {            height: 30px;            text-align: center;            border: 1px solid #dddddd;        }        .table-status td {            height: 30px;            text-align: center;            border: 1px solid #dddddd;        }        .selected-all {            color: white;            background-color: #6AC4EC;        }        .not-selected-all {            color: #6AC4EC;            background-color: transparent;        }        .td-detail {            border: 0 !important;            text-align: left !important;            border-top: 1px solid #dddddd !important;        }    </style>    <div class="row" style="margin-top:5px;">        <table style="width:100%;">            <tr>                <td style="width: 20%;" valign="top">                    <div class="div-default div-default-border" ng-class="{\'div-selected\': selectedItem==\'Unplanned\'}" ng-click="selectStuats=\'Unplanned\';selectedItem=\'Unplanned\';">                        <div class="panel-heading">                            <span>未计划</span>                            <span class="pull-right glyphicon glyphicon-triangle-right"></span>                            <div class="pull-right badge" style="background-color:#1AC6EA;color:white;margin-right:10px;">{{unplannedTP.length}}</div>                            <!--<div class="pull-right yuan">5</div>-->                        </div>                    </div>                    <div class="div-default" style="margin-top:32px;">                        <table class="div-default div-default-border" style="width:100%;">                            <tr ng-click="listActive1=!listActive1">                                <td>                                    <div class="panel-heading">                                        <span>进行中</span>                                    </div>                                </td>                                <td>                                    <span class="pull-right glyphicon" style="padding-right: 15px;" ng-class="{\'glyphicon-triangle-bottom\':listActive1,\'glyphicon-triangle-right\':!listActive1}"></span>                                </td>                            </tr>                            <tr class="btn-hover" style="border-top: 1px solid #dddddd;" ng-class="{\'div-selected\': selectedItem==item.id}" ng-show="listActive1" ng-click="itemClick(item.id,\'Planing\')" ng-repeat="item in planingTP">                                <td style="height: 38px;padding-left: 15px;">                                    <a ng-style="{\'color\':selectedItem==item.id?\'white\':\'#319DB5\'}">{{item.name}} ￥{{item.price}}</a>                                </td>                                <td style="width:20%;">                                    <span class="span-color" style="color:red;" ng-style="{\'color\':selectedItem==item.id?\'white\':\'red\'}" ng-if="joinPlanData!=null && joinPlanData.id==item.id">新增{{joinPlanData.newItemCount}}</span>                                </td>                            </tr>                        </table>                    </div>                    <div class="div-default">                        <table class="div-default div-default-border" style="width:100%;">                            <tr ng-click="listActive2=!listActive2">                                <td>                                    <div class="panel-heading">                                        <span>已完成</span>                                    </div>                                </td>                                <td>                                    <span class="pull-right glyphicon" style="padding-right: 15px;" ng-class="{\'glyphicon-triangle-bottom\':listActive2,\'glyphicon-triangle-right\':!listActive2}"></span>                                </td>                            </tr>                            <tr class="btn-hover" style="border-top: 1px solid #dddddd;" ng-class="{\'div-selected\': selectedItem==item.id}" ng-show="listActive2" ng-click="itemClick(item.id,\'Confirmed\')" ng-repeat="item in confirmedTP">                                <td style="height: 38px;padding-left: 15px;">                                    <a ng-style="{\'color\':selectedItem==item.id?\'white\':\'#319DB5\'}">{{item.name}} ￥{{item.price}}</a>                                </td>                                <td style="width:20%;"></td>                            </tr>                        </table>                    </div>                    <div class="div-default">                        <table class="div-default div-default-border" style="width:100%;">                            <tr ng-click="listActive3=!listActive3">                                <td>                                    <div class="panel-heading">                                        <span>已拒绝</span>                                    </div>                                </td>                                <td>                                    <span class="pull-right glyphicon" style="padding-right: 15px;" ng-class="{\'glyphicon-triangle-bottom\':listActive3,\'glyphicon-triangle-right\':!listActive3}"></span>                                </td>                            </tr>                            <tr class="btn-hover" style="border-top: 1px solid #dddddd;" ng-class="{\'div-selected\': selectedItem==item.id}" ng-show="listActive3" ng-click="itemClick(item.id,\'Reject\')" ng-repeat="item in rejectTP">                                <td style="height: 38px;padding-left: 15px;">                                    <a ng-style="{\'color\':selectedItem==item.id?\'white\':\'#319DB5\'}">{{item.name}} ￥{{item.price}}</a>                                </td>                                <td style="width:20%;"></td>                            </tr>                        </table>                    </div>                </td>                <td valign="top">                    <!-- 未计划    start  -->                    <div ng-show="selectStuats==\'Unplanned\'">                        <div class="panel panel-default" style="margin-bottom:2px; ">                            <div class="panel-heading">                                <span>未计划</span>                                <div class="pull-right">                                    <a ng-click="newPlan()"><span class="icon icon-doc"></span>&nbsp;创建计划</a>&nbsp;&nbsp;                                    <a data-toggle="dropdown"><span class="glyphicon glyphicon-download-alt"></span>&nbsp;加入计划</a>                                    <ul class="dropdown-menu" style="max-height:100px;overflow:auto;">                                        <li ng-repeat="item in planingTP"><a href="" ng-click="joinPlan(item.id)">{{item.name}}</a></li>                                    </ul>                                </div>                            </div>                        </div>                        <div>                            <table class="table-status" style="width:100%;border-collapse:separate;border-spacing:2px 2px;">                                <thead>                                    <tr>                                        <th class="cursor-hand" ng-class="{\'not-selected-all\':!isSelectedAll,\'selected-all\':isSelectedAll}" ng-click="onSelectedAll(\'Unplanned\')">全选</th>                                        <th>治疗项目</th>                                        <th>牙齿</th>                                        <th>区域</th>                                        <th>金额</th>                                        <th>诊断</th>                                        <th>项目状态</th>                                        <th>备注</th>                                        <th>操作</th>                                    </tr>                                </thead>                                <tbody>                                    <tr ng-repeat="item in unplannedTP">                                        <td class=" cursor-hand" ng-click="onSelectedOne(item)">                                            <!--<span class="glyphicon" ng-style="{\'color\':item.selected?\'#6AC4EC\':\'#A4A7B0\',\'font-size\':item.selected?\'17px\':\'15px\'}"                                                  ng-class="{\'glyphicon-ok-sign\':item.selected,\'icon-check\':!item.selected}">                                            </span>-->                                            <span class="icon-check" ng-style="{\'color\':item.selected?\'#5FC2D7\':\'#CECED5\'}"></span>                                        </td>                                        <td style="text-align:left;">{{item.transactionCodeName}}</td>                                        <td>{{item.toothCode}}</td>                                        <td style="text-align:left;">{{item.regionName}}</td>                                        <td>￥{{item.price}}</td>                                        <td style="text-align:left;">{{item.diagnose}}</td>                                        <td>未计划</td>                                        <td style="text-align:left;">{{item.notes}}</td>                                        <td class="cursor-hand btn-hover" ng-click="deleteItemClick(item.id)"><a><span class="icon-close"></span>&nbsp;删除</a></td>                                    </tr>                                </tbody>                            </table>                        </div>                    </div>                    <!-- 未计划    end  -->                    <!-- 进行中  start-->                    <div ng-show="selectStuats==\'Planing\'">                        <div class="panel panel-default" style="margin-bottom:2px; ">                            <div class="panel-heading">                                <span>{{txplan.name}}</span>                                <div class="pull-right">                                    <a ng-click="creatAppt()"><span class="icon icon-doc"></span>&nbsp;创建预约</a>&nbsp;&nbsp;                                </div>                            </div>                        </div>                        <div>                            <table class="table-status" style="width:100%;border-collapse:separate;border-spacing:2px 2px;">                                <thead>                                    <tr>                                        <th style="width: 7%;" class="cursor-hand" ng-class="{\'not-selected-all\':!isSelectedAll,\'selected-all\':isSelectedAll}" ng-click="onSelectedAll(\'Planing\')">全选</th>                                        <th>                                            <table style="width:100%;border:0;">                                                <tr>                                                    <th style="width:13.3%;text-align:center;border: 0;">治疗项目</th>                                                    <th style="width:10%;text-align:center;border: 0;">牙齿</th>                                                    <th style="width:13.3%;text-align:center;border: 0;">区域</th>                                                    <th style="width:13.3%;text-align:center;border: 0;">金额</th>                                                    <th style="width:13.3%;text-align:center;border: 0;">诊断</th>                                                    <th style="width:16.3%;text-align:center;border: 0;">项目状态</th>                                                    <th style="width:13.3%;text-align:center;border: 0;">最新预约</th>                                                    <td style="width:8%;text-align:center;border: 0;"></td>                                                </tr>                                            </table>                                        </th>                                        <th style="width: 7%;">操作</th>                                    </tr>                                </thead>                                <tbody>                                    <tr ng-repeat="item in txplan.txplanItemList">                                        <td class=" cursor-hand" ng-click="onSelectedOne(item)">                                            <!--<span class="glyphicon" ng-style="{\'color\':item.selected?\'#6AC4EC\':\'#A4A7B0\',\'font-size\':item.selected?\'17px\':\'15px\'}"                                                  ng-class="{\'glyphicon-ok-sign\':item.selected,\'icon-check\':!item.selected}">                                            </span>-->                                            <span class="icon-check" ng-style="{\'color\':item.selected?\'#5FC2D7\':\'#CECED5\'}"></span>                                        </td>                                        <td>                                            <table style="width:100%;border:0;">                                                <tr>                                                    <td style="border: 0;width:13.3%;">{{item.transactionCodeName}}</td>                                                    <td style="border: 0;width:10%;">{{item.toothCode}}</td>                                                    <td style="border: 0;width:13.3%;">{{item.regionName}}</td>                                                    <td style="border: 0;width:13.3%;">                                                        <a ng-click="onShowDetailClick(item,true)">￥{{item.price}}&nbsp;<span class="glyphicon" ng-class="{\'glyphicon-triangle-top\':item.showDetail,\'glyphicon-triangle-bottom\':!item.showDetail}"></span></a>                                                    </td>                                                    <td style="border: 0;width:13.3%;">{{item.diagnose}}</td>                                                    <td style="border: 0;width:16.3%;position: relative;">                                                        <a class="dropdown-toggle" data-toggle="dropdown">{{item.statusStr}}&nbsp;<span class="glyphicon" ng-class="{\'glyphicon-triangle-top\':item.showStatusDiv,\'glyphicon-triangle-bottom\':!item.showStatusDiv}"></span></a>                                                        <ul class="dropdown-menu command-list" style="min-width: 100px;">                                                            <li ng-show="item.status==2"><a href="" ng-click="updateTxplanItemStatu(item,1)"> 进行中</a></li>                                                            <li ng-show="item.status==1"><a href="" ng-click="updateTxplanItemStatu(item,2)"> 已完成</a></li>                                                        </ul>                                                    </td>                                                    <td style="border: 0;width:13.3%;">{{item.apptDateStr}}</td>                                                    <td style="border: 0;width:8%;">                                                        <a ng-click="onShowDetailClick(item,false)">详情&nbsp;<span class="glyphicon" ng-class="{\'glyphicon-triangle-top\':item.showDetail,\'glyphicon-triangle-bottom\':!item.showDetail}"></span></a>                                                    </td>                                                </tr>                                                <tr style="border:2px solid #2FB6D3;" ng-show="item.showDetail">                                                    <td colspan="8" style="text-align: left;">                                                        <div>                                                            <div style="height:28px;border-bottom:1px solid #dddddd;">                                                                <div class="btn-group pull-left">                                                                    <button style="padding-top:3px;padding-bottom:3px;" type="button" class="btn btn-default btn-primary" ng-class="{\'btn-primary\': !item.showChargeDiv}" ng-click="onShowChargeClick(item)">历史纪录</button>                                                                    <button style="padding-top:3px;padding-bottom:3px;" type="button" class="btn btn-default" ng-class="{\'btn-primary\': item.showChargeDiv}" ng-click="onShowChargeClick(item)">收费明细</button>                                                                </div>                                                                <div class="pull-right">                                                                    <button style="padding-top:3px;padding-bottom:3px;" type="button" class="btn btn-default" ng-show="item.showChargeDiv" ng-click="openEditDialog(item.id)">编辑收费项目</button>                                                                </div>                                                            </div>                                                            <table style="width:100%;" ng-show="!item.showChargeDiv">                                                                <tr>                                                                    <td style="width:15px;border:0;"></td>                                                                    <td style="border:0;">                                                                        <table style="width:100%;">                                                                            <tr>                                                                                <th style="border: 0;text-align:left;">时间</th>                                                                                <th style="border: 0;text-align:left;">预约状态</th>                                                                                <th style="border: 0;text-align:left;">医生</th>                                                                                <th style="border: 0;text-align:left;">备注</th>                                                                            </tr>                                                                            <tr ng-repeat="appt in item.apptHistoryList">                                                                                <td class="td-detail">{{appt.apptDateStr}}</td>                                                                                <td class="td-detail">{{appt.stateStr}}</td>                                                                                <td class="td-detail">{{appt.doctorName}}</td>                                                                                <td class="td-detail">{{appt.notes}}</td>                                                                            </tr>                                                                        </table>                                                                    </td>                                                                </tr>                                                            </table>                                                            <table style="width:100%;" ng-show="item.showChargeDiv">                                                                <tr>                                                                    <td style="width:15px;border:0;"></td>                                                                    <td style="border:0;">                                                                        <table style="width:100%;">                                                                            <tr>                                                                                <th style="border: 0;text-align:left;">收费项目</th>                                                                                <th style="border: 0;text-align:left;">治疗次数</th>                                                                                <th style="border: 0;text-align:left;">收费状况</th>                                                                                <th style="border: 0;text-align:left;">收费金额</th>                                                                            </tr>                                                                            <tr ng-repeat="itemCharge in item.txplanItemChargeList">                                                                                <td class="td-detail">{{itemCharge.name}}</td>                                                                                <td class="td-detail">{{itemCharge.count}}次</td>                                                                                <td class="td-detail" ng-bind-html="itemCharge.statusStr"></td>                                                                                <td class="td-detail">￥{{itemCharge.price}}</td>                                                                            </tr>                                                                        </table>                                                                    </td>                                                                </tr>                                                            </table>                                                        </div>                                                    </td>                                                </tr>                                            </table>                                        </td>                                        <td class="cursor-hand btn-hover" ng-click="removeItemClick(item.id)">                                            <a><span class="icon-close"></span>&nbsp;移除</a>                                        </td>                                    </tr>                                    <tr>                                        <td>备注</td>                                        <td style="text-align:left;">                                            <textarea rows="3" style="max-width:100%;width:99%;border:0;" ng-model="txplan.notes"></textarea>                                        </td>                                        <td class="cursor-hand btn-hover" ng-click="updateTxplanNotes()">                                            <a><span class="glyphicon glyphicon-floppy-saved"></span>&nbsp;保存</a>                                        </td>                                    </tr>                                </tbody>                            </table>                            <table style="border: 1px solid #dddddd;width:99.9%;text-align:center;">                                <tr>                                    <td>                                        <table style="width:100%;">                                            <tr>                                                <td class="btn-hover cursor-hand" style="width:50%;height: 30px;border-right:1px solid #dddddd;" ng-click="rejectTxPlan()"><a><span class="icon-ban"></span>&nbsp;拒绝</a></td>                                                <td class="btn-hover cursor-hand" style="width:50%;height: 30px;" ng-click="confirmedTxplan()"><a><span class="icon-check"></span>&nbsp;完成计划</a></td>                                            </tr>                                        </table>                                    </td>                                </tr>                            </table>                        </div>                    </div>                    <!-- 进行中  end-->                    <!-- 已完成  start-->                    <div ng-show="selectStuats==\'Confirmed\'">                        <div class="panel panel-default" style="margin-bottom:2px; ">                            <div class="panel-heading">                                <span>{{txplan.name}}</span>                            </div>                        </div>                        <div>                            <table class="table-status" style="width:100%;border-collapse:separate;border-spacing:2px 2px;">                                <thead>                                    <tr>                                        <th style="width: 7%;" class="cursor-hand" ng-class="{\'not-selected-all\':!isSelectedAll,\'selected-all\':isSelectedAll}" ng-click="onSelectedAll(\'Planing\')">全选</th>                                        <th>                                            <table style="width:100%;border:0;">                                                <tr>                                                    <th style="width:13.3%;text-align:center;border: 0;">治疗项目</th>                                                    <th style="width:10%;text-align:center;border: 0;">牙齿</th>                                                    <th style="width:13.3%;text-align:center;border: 0;">区域</th>                                                    <th style="width:13.3%;text-align:center;border: 0;">金额</th>                                                    <th style="width:13.3%;text-align:center;border: 0;">诊断</th>                                                    <th style="width:13.3%;text-align:center;border: 0;">项目状态</th>                                                    <th style="width:13.3%;text-align:center;border: 0;">最新预约</th>                                                    <td style="width:10%;text-align:center;border: 0;"></td>                                                </tr>                                            </table>                                        </th>                                        <!--<th style="width: 7%;">操作</th>-->                                    </tr>                                </thead>                                <tbody>                                    <tr ng-repeat="item in txplan.txplanItemList">                                        <td class=" cursor-hand" ng-click="onSelectedOne(item)">                                            <!--<span class="glyphicon" ng-style="{\'color\':item.selected?\'#6AC4EC\':\'#A4A7B0\',\'font-size\':item.selected?\'17px\':\'15px\'}"                                                  ng-class="{\'glyphicon-ok-sign\':item.selected,\'icon-check\':!item.selected}">                                            </span>-->                                            <span class="icon-check" ng-style="{\'color\':item.selected?\'#5FC2D7\':\'#CECED5\'}"></span>                                        </td>                                        <td>                                            <table style="width:100%;border:0;">                                                <tr>                                                    <td style="border: 0;width:13.3%;">{{item.transactionCodeName}}</td>                                                    <td style="border: 0;width:10%;">{{item.toothCode}}</td>                                                    <td style="border: 0;width:13.3%;">{{item.regionName}}</td>                                                    <td style="border: 0;width:13.3%;"><a ng-click="onShowDetailClick(item,true)">￥{{item.price}}&nbsp;<span class="glyphicon" ng-class="{\'glyphicon-triangle-top\':item.showDetail,\'glyphicon-triangle-bottom\':!item.showDetail}"></span></a></td>                                                    <td style="border: 0;width:13.3%;">{{item.diagnose}}</td>                                                    <td style="border: 0;width:13.3%;">已完成</td>                                                    <td style="border: 0;width:13.3%;">{{item.apptDateStr}}</td>                                                    <td style="border: 0;width:10%;">                                                        <a ng-click="onShowDetailClick(item,false)">详情&nbsp;<span class="glyphicon" ng-class="{\'glyphicon-triangle-top\':item.showDetail,\'glyphicon-triangle-bottom\':!item.showDetail}"></span></a>                                                    </td>                                                </tr>                                                <tr style="border:2px solid #2FB6D3;" ng-show="item.showDetail">                                                    <td colspan="8" style="text-align: left;">                                                        <div>                                                            <div style="height:28px;border-bottom:1px solid #dddddd;">                                                                <div class="btn-group">                                                                    <button style="padding-top:3px;padding-bottom:3px;" type="button" class="btn btn-default btn-primary" ng-class="{\'btn-primary\': !item.showChargeDiv}" ng-click="onShowChargeClick(item)">历史纪录</button>                                                                    <button style="padding-top:3px;padding-bottom:3px;" type="button" class="btn btn-default" ng-class="{\'btn-primary\': item.showChargeDiv}" ng-click="onShowChargeClick(item)">收费明细</button>                                                                </div>                                                            </div>                                                            <table style="width:100%;" ng-show="!item.showChargeDiv">                                                                <tr>                                                                    <td style="width:15px;border:0;"></td>                                                                    <td style="border:0;">                                                                        <table style="width:100%;">                                                                            <tr>                                                                                <td style="width:15px;border:0;"></td>                                                                                <td style="border:0;">                                                                                    <table style="width:100%;">                                                                                        <tr>                                                                                            <th style="border: 0;text-align:left;">时间</th>                                                                                            <th style="border: 0;text-align:left;">预约状态</th>                                                                                            <th style="border: 0;text-align:left;">医生</th>                                                                                            <th style="border: 0;text-align:left;">备注</th>                                                                                        </tr>                                                                                        <tr ng-repeat="appt in item.apptHistoryList">                                                                                            <td class="td-detail">{{appt.apptDateStr}}</td>                                                                                            <td class="td-detail">{{appt.stateStr}}</td>                                                                                            <td class="td-detail">{{appt.doctorName}}</td>                                                                                            <td class="td-detail">{{appt.notes}}</td>                                                                                        </tr>                                                                                    </table>                                                                                </td>                                                                            </tr>                                                                        </table>                                                                    </td>                                                                </tr>                                                            </table>                                                            <table style="width:100%;" ng-show="item.showChargeDiv">                                                                <tr>                                                                    <td style="width:15px;border:0;"></td>                                                                    <td style="border:0;">                                                                        <table style="width:100%;">                                                                            <tr>                                                                                <th style="border: 0;text-align:left;">收费项目</th>                                                                                <th style="border: 0;text-align:left;">治疗次数</th>                                                                                <th style="border: 0;text-align:left;">收费状况</th>                                                                                <th style="border: 0;text-align:left;">收费金额</th>                                                                            </tr>                                                                            <tr ng-repeat="itemCharge in item.txplanItemChargeList">                                                                                <td class="td-detail">{{itemCharge.name}}</td>                                                                                <td class="td-detail">{{itemCharge.count}}次</td>                                                                                <td class="td-detail" ng-bind-html="itemCharge.statusStr"></td>                                                                                <td class="td-detail">￥{{itemCharge.price}}</td>                                                                            </tr>                                                                        </table>                                                                    </td>                                                                </tr>                                                            </table>                                                        </div>                                                    </td>                                                </tr>                                            </table>                                        </td>                                    </tr>                                    <tr>                                        <td>备注</td>                                        <td style="text-align:left;">                                            <textarea rows="3" style="max-width:100%;width:99%;border:0;" ng-model="txplan.notes" readonly="readonly"></textarea>                                        </td>                                    </tr>                                    <tr>                                        <td colspan="2" class="btn-hover cursor-hand" ng-click="againTxplan()"><a><span class="icon-check"></span>&nbsp;重新开始</a></td>                                    </tr>                                </tbody>                            </table>                        </div>                    </div>                    <!-- 已完成  end-->                    <!-- 已拒绝  start-->                    <div ng-show="selectStuats==\'Reject\'">                        <div class="panel panel-default" style="margin-bottom:2px; ">                            <div class="panel-heading">                                <span>{{txplan.name}}</span>                            </div>                        </div>                        <div>                            <table class="table-status" style="width:100%;border-collapse:separate;border-spacing:2px 2px;">                                <thead>                                    <tr>                                        <th style="width: 7%;" class="cursor-hand" ng-class="{\'not-selected-all\':!isSelectedAll,\'selected-all\':isSelectedAll}" ng-click="onSelectedAll(\'Reject\')">全选</th>                                        <th>                                            <table style="width:100%;border:0;">                                                <tr>                                                    <th style="width:13.3%;text-align:center;border: 0;">治疗项目</th>                                                    <th style="width:10%;text-align:center;border: 0;">牙齿</th>                                                    <th style="width:13.3%;text-align:center;border: 0;">区域</th>                                                    <th style="width:13.3%;text-align:center;border: 0;">金额</th>                                                    <th style="width:13.3%;text-align:center;border: 0;">诊断</th>                                                    <th style="width:13.3%;text-align:center;border: 0;">项目状态</th>                                                    <th style="width:13.3%;text-align:center;border: 0;">最新预约</th>                                                    <td style="width:10%;text-align:center;border: 0;"></td>                                                </tr>                                            </table>                                        </th>                                    </tr>                                </thead>                                <tbody>                                    <tr ng-repeat="item in txplan.txplanItemList">                                        <td class=" cursor-hand" ng-click="onSelectedOne(item)">                                            <!--<span class="glyphicon" ng-style="{\'color\':item.selected?\'#6AC4EC\':\'#A4A7B0\',\'font-size\':item.selected?\'17px\':\'15px\'}"                                                  ng-class="{\'glyphicon-ok-sign\':item.selected,\'icon-check\':!item.selected}">                                            </span>-->                                            <span class="icon-check" ng-style="{\'color\':item.selected?\'#5FC2D7\':\'#CECED5\'}"></span>                                        </td>                                        <td>                                            <table style="width:100%;border:0;">                                                <tr>                                                    <td style="border: 0;width:13.3%;">{{item.transactionCodeName}}</td>                                                    <td style="border: 0;width:10%;">{{item.toothCode}}</td>                                                    <td style="border: 0;width:13.3%;">{{item.regionName}}</td>                                                    <td style="border: 0;width:13.3%;"><a ng-click="onShowDetailClick(item,true)">￥{{item.price}}&nbsp;<span class="glyphicon" ng-class="{\'glyphicon-triangle-top\':item.showDetail,\'glyphicon-triangle-bottom\':!item.showDetail}"></span></a></td>                                                    <td style="border: 0;width:13.3%;">{{item.diagnose}}</td>                                                    <td style="border: 0;width:13.3%;">已拒绝</td>                                                    <td style="border: 0;width:13.3%;">{{item.apptDateStr}}</td>                                                    <td style="border: 0;width:10%;">                                                        <a ng-click="onShowDetailClick(item,false)">详情&nbsp;<span class="glyphicon" ng-class="{\'glyphicon-triangle-top\':item.showDetail,\'glyphicon-triangle-bottom\':!item.showDetail}"></span></a>                                                    </td>                                                </tr>                                                <tr style="border:2px solid #2FB6D3;" ng-show="item.showDetail">                                                    <td colspan="8" style="text-align: left;">                                                        <div>                                                            <div style="height:28px;border-bottom:1px solid #dddddd;">                                                                <div class="btn-group">                                                                    <button style="padding-top:3px;padding-bottom:3px;" type="button" class="btn btn-default btn-primary" ng-class="{\'btn-primary\': !item.showChargeDiv}" ng-click="onShowChargeClick(item)">历史纪录</button>                                                                    <button style="padding-top:3px;padding-bottom:3px;" type="button" class="btn btn-default" ng-class="{\'btn-primary\': item.showChargeDiv}" ng-click="onShowChargeClick(item)">收费明细</button>                                                                </div>                                                            </div>                                                            <table style="width:100%;" ng-show="!item.showChargeDiv">                                                                <tr>                                                                    <td style="width:15px;border:0;"></td>                                                                    <td style="border:0;">                                                                        <table style="width:100%;">                                                                            <tr>                                                                                <th style="border: 0;text-align:left;">时间</th>                                                                                <th style="border: 0;text-align:left;">预约状态</th>                                                                                <th style="border: 0;text-align:left;">医生</th>                                                                                <th style="border: 0;text-align:left;">备注</th>                                                                            </tr>                                                                            <tr ng-repeat="appt in item.apptHistoryList">                                                                                <td class="td-detail">{{appt.apptDateStr}}</td>                                                                                <td class="td-detail">{{appt.stateStr}}</td>                                                                                <td class="td-detail">{{appt.doctorName}}</td>                                                                                <td class="td-detail">{{appt.notes}}</td>                                                                            </tr>                                                                        </table>                                                                    </td>                                                                </tr>                                                            </table>                                                            <table style="width:100%;" ng-show="item.showChargeDiv">                                                                <tr>                                                                    <td style="width:15px;border:0;"></td>                                                                    <td style="border:0;">                                                                        <table style="width:100%;">                                                                            <tr>                                                                                <th style="border: 0;text-align:left;">收费项目</th>                                                                                <th style="border: 0;text-align:left;">治疗次数</th>                                                                                <th style="border: 0;text-align:left;">收费状况</th>                                                                                <th style="border: 0;text-align:left;">收费金额</th>                                                                            </tr>                                                                            <tr ng-repeat="itemCharge in item.txplanItemChargeList">                                                                                <td class="td-detail">{{itemCharge.name}}</td>                                                                                <td class="td-detail">{{itemCharge.count}}次</td>                                                                                <td class="td-detail" ng-bind-html="itemCharge.statusStr"></td>                                                                                <td class="td-detail">￥{{itemCharge.price}}</td>                                                                            </tr>                                                                        </table>                                                                    </td>                                                                </tr>                                                            </table>                                                        </div>                                                    </td>                                                </tr>                                            </table>                                        </td>                                    </tr>                                    <tr>                                        <td>备注</td>                                        <td style="text-align:left;">                                            <textarea rows="3" style="max-width:100%;width:99%;border:0;" ng-model="txplan.notes" readonly="readonly"></textarea>                                        </td>                                    </tr>                                    <tr>                                        <td colspan="2" class="btn-hover cursor-hand" ng-click="againTxplan()"><a><span class="icon-check"></span>&nbsp;重新开始</a></td>                                    </tr>                                </tbody>                            </table>                        </div>                    </div>                    <!-- 已拒绝  end-->                </td>            </tr>        </table>    </div></div>');templateCache.put('/app/patient/views/patient-weixin-consult-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">查看微信记录</h4>    </div>    <div class="modal-body ares-dialog-body" style="padding:0;height: 500px">        <style scoped>            .cuttitle {                display: block;                width: 100px;                overflow: hidden;                white-space: nowrap;                -o-text-overflow: ellipsis;                text-overflow: ellipsis;            }            .f2b {                color: #00A6C9;            }        </style>        <div style="height: 490px;overflow-y: auto;">            <div ng-repeat="(recordCreatedTime, chatMessage) in chatMessages" style="margin-top: 10px;">                {{recordCreatedTime | toDateString}}                <div style="width:96%;border:1px solid #E3E3E4;border-radius:5px;margin: 0 auto;padding-left: 10px;margin-top: 5px;">                    {{recordCreatedTime | toShortTimeString}}                    <table>                        <tr ng-repeat="item in chatMessage | orderBy:\'id\'">                            <td class="cuttitle">                                <span ng-if="item.direction ==\'b2f\'">{{ item.sender }}</span>                                <span ng-if="!(item.direction ==\'b2f\')" class="f2b">{{ item.target }}</span>                            </td>                            <td> <span ng-class="{\'f2b\' : item.direction ==\'f2b\'}">{{ item.content }}</span></td>                        </tr>                    </table>                </div>            </div>        </div>        <div style="padding:10px;height:400px;" ng-if="!hasRecord"><h3>没有查到微信记录!</h3></div>    </div>    <div class="modal-footer ares-dialog-footer" style="height:0;">    </div></div>');templateCache.put('/app/patient/views/dental-lab/patient-dental-lab-order-view.html','<div class="enyo dental-lab-order-list-wrap enyo"><style scoped>    .dental-lab-order-list-wrap .empty-list-hint {        width: 100%;        margin-top: 70px;    }    .dental-lab-order-list-wrap div.enyo-table-header-primary div {        padding-left: 0;    }    .dental-lab-order-list-wrap .has-settled {        background: transparent url(/Content/imgs/icon-settled.png) no-repeat center !important;    }    .dental-lab-order-list-wrap .not-need-settled {        background: transparent url(/Content/imgs/icon-settle-unneed.png) no-repeat center !important;    }</style>    <div class="enyo-margin-top-10 enyo-margin-bottom-5">        <div class="form-inline enyo-margin-bottom-10 clearfix">            <div class="pull-right btn-group">                <button ares-authorize="dentalLab.order.apply" class="btn btn-primary btn-wide btn-icon" ng-click="createDentalLabOrder()">                    <i class="iconfont icon-xinzengliebiao"></i> 新建申请单                </button>            </div>        </div>    </div>    <div class="enyo-table-header-primary">        <div style="width: calc(100% - 400px); padding-left: 0;">            <div style="width:17%;"><span>牙位</span></div>            <div style="width:12%;"><span>牙色</span></div>            <div style="width:20%;"><span>名称</span></div>            <div style="width:14%;"><span>数量</span></div>            <div style="width:11%;"><span>单位</span></div>            <div style="width:11%;text-align: right;"><span style="padding-left: 0;padding-right: 10px;float: none;">单价</span></div>            <div style="width:15%;text-align: right;"><span style="padding-left: 0;padding-right: 10px;float: none;">金额</span></div>        </div>        <div style="width: 200px; text-align: center;">            结算信息        </div>        <div style="width: 200px; text-align: center;">            操作        </div>    </div>    <div class="table-main">        <div ng-repeat="dentalLabOrder in dentalLabOrderList" class="enyo-margin-top-10 enyo-border">            <div class="enyo-table-header-info enyo-border-top-0">                <span ng-bind-html="dentalLabOrder.orderStatus | dentalLabOrderStatusStr"></span>                <span style="padding-right:10px;" ng-if="dentalLabOrder.orderDateStr">{{ dentalLabOrder.orderDateStr }} |</span>                <span style="padding-left:10px;" class="enyo-text-light">技加工单号：</span>                <span>&nbsp;{{ dentalLabOrder.orderNo }}</span>                <a class="pull-right enyo-link-reverse" ng-click="printOrder(dentalLabOrder.id, false)"                   sensors-enabled="true" sensors-event-name="DentalLabOrder" sensors-event-type="打印">                    <i class="fa fa-print"></i> 打印                </a>                <a class="pull-right enyo-link-reverse" style="margin-right:10px" ng-click="printOrder(dentalLabOrder.id, true)"                   sensors-enabled="true" sensors-event-name="DentalLabOrder" sensors-event-type="标签打印">                    <i class="fa fa-print"></i> 标签打印                </a>            </div>            <table style="border-collapse: collapse; width: 100%;">                <tr>                    <td style="width: calc(100% - 400px)" class="enyo-border-right">                        <table style="width: 100%; border-collapse: collapse; table-layout: fixed;">                            <tr ng-repeat="item in dentalLabOrder.dentalLabOrderDetailDtos" ng-hide="$index > 2 && !dentalLabOrder.showAll"                                ng-class="{\'enyo-bg-stripe\': $index % 2 === 1, \'enyo-border-bottom\' : $index !== dentalLabOrder.dentalLabOrderDetailDtos.length - 1, \'enyo-bg-hover-light-blue\' : dentalLabOrder.dentalLabOrderDetailDtos.length > 2}"                                ng-style="{height: dentalLabOrder.dentalLabOrderDetailDtos.length === 1 ? \'144px\' : (dentalLabOrder.dentalLabOrderDetailDtos.length === 2 ? \'72px\' : \'48px\')}">                                <td style="width:17%;">                                    <span class="enyo-single-line-text" title="{{item.toothCode}}">                                        <ares-emr-tooth-selector hide-sides="true" selected-tooth-codes="item.toothCode" parent-selector=".product-list"></ares-emr-tooth-selector>                                        <!-- {{item.toothCode}} -->                                    </span>                                </td>                                <td style="width:12%;padding-left: 10px;">                                    <span class="enyo-double-line-text" title="{{item.gumColorCode || \'请选择\'}} {{item.toothBodyColorCode}} {{item.toothIncisalColorCode}}" ng-click="selectToothColor(item);">                                        {{item.gumColorCode || \'请选择\'}} {{item.toothBodyColorCode}} {{item.toothIncisalColorCode}}                                    </span>                                </td>                                <td style="width:20%;padding-left: 10px;">                                    <span class="enyo-double-line-text" title="{{item.productName}}">                                        {{item.productName}}                                    </span>                                </td>                                <td style="width:14%;padding-left: 10px;">                                    <span class="enyo-double-line-text" title="{{item.submitCount}}">                                        {{item.submitCount}}                                    </span>                                </td>                                <td style="width:11%;padding-left: 10px;">                                    <span class="enyo-double-line-text" title="{{item.unit}}">                                        {{item.unit}}                                    </span>                                </td>                                <td style="width:11%;text-align: right;padding-right: 5px;">                                    <span class="enyo-double-line-text" title="{{item.salesPrice | toFormatPrice}}" style="padding-left: 0;float: none;">                                        {{item.salesPrice | toFormatPrice}}                                    </span>                                </td>                                <td style="width:15%;text-align: right;padding-right: 5px;">                                    <span class="enyo-double-line-text" title="{{item.salesAmount | toFormatPrice}}" style="padding-left: 0;float: none;">                                        {{item.salesAmount | toFormatPrice}}                                    </span>                                </td>                            </tr>                            <tfoot ng-if="dentalLabOrder.dentalLabOrderDetailDtos.length > 3" class="enyo-border-top">                                <tr>                                    <td style="height: 28px; text-align: center; cursor: pointer;"                                        class="enyo-bg-light-blue" colspan="7"                                        ng-click="dentalLabOrder.showAll = !dentalLabOrder.showAll; initTableView();">                                        <span class="enyo-text-primary" ng-show="!dentalLabOrder.showAll">                                            共{{dentalLabOrder.dentalLabOrderDetailDtos.length}}个项目，点击查看其他{{dentalLabOrder.dentalLabOrderDetailDtos.length - 3}}个 <i class="iconfont icon-xiangxiazhankai" style="font-size: 12px;"></i>                                        </span>                                        <span class="enyo-text-primary" ng-show="dentalLabOrder.showAll">                                            收起 <i class="iconfont icon-xiangshangmorenguanbi"                                                  style="font-size: 12px;"></i>                                        </span>                                    </td>                                </tr>                            </tfoot>                        </table>                    </td>                    <td style="width: 167px; padding: 16px 6px; vertical-align: top;" class="enyo-border-right" ng-class="{\'has-settled\': dentalLabOrder.settlementStatus == 3,\'not-need-settled\': dentalLabOrder.settlementStatus == 2}">                        <table style="width: 100%; table-layout: fixed; line-height: 22px;">                            <tr>                                <td colspan="2">                                    <span class="enyo-text-light">工厂：</span>                                    <span class="enyo-single-line-text" style="width: calc(100% - 70px);text-align: right;" title="{{dentalLabOrder.organizationName}}">                                        {{dentalLabOrder.organizationName}}                                    </span>                                </td>                            </tr>                            <tr class="enyo-border-top" style="line-height: 28px;">                                <td class="enyo-text-warning-dark">                                    总金额：                                </td>                                <td class="enyo-text-warning-dark text-right enyo-single-line-text" style="font-size: 18px;width: 100%;"                                    title="{{ dentalLabOrder.salesAmount | toFormatPrice}}">                                    {{ dentalLabOrder.salesAmount | toFormatPrice}}                                </td>                            </tr>                        </table>                    </td>                    <td style="width: 167px; padding: 16px 10px; vertical-align: top; line-height: 22px;">                        <button class="btn btn-primary" ares-authorize="dentalLab.order.submit" ng-click="changeOrderStatus(dentalLabOrder)" ng-if="dentalLabOrder.orderStatus == 10">                            提交                        </button>                        <button class="btn btn-primary" ares-authorize="dentalLab.order.mold" ng-click="changeOrderStatus(dentalLabOrder)" ng-if="dentalLabOrder.orderStatus == 15">                            取模                        </button>                        <button class="btn btn-primary" ares-authorize="dentalLab.order.receive" ng-click="changeOrderStatus(dentalLabOrder)" ng-if="dentalLabOrder.orderStatus == 20">                            签收                        </button>                        <button class="btn btn-primary" ares-authorize="dentalLab.order.accept" ng-click="changeOrderStatus(dentalLabOrder)" ng-if="dentalLabOrder.orderStatus == 30">                            验收                        </button>                        <button class="btn btn-primary" ares-authorize="dentalLab.order.completeSettle" ng-click="changeOrderStatus(dentalLabOrder)" ng-if="dentalLabOrder.orderStatus == 40 && dentalLabOrder.settlementStatus == 1">                            结算                        </button>                        <button class="btn btn-default" ng-click="checkOrder(dentalLabOrder.id)" ng-if="dentalLabOrder.hasDifference">                            项目差异                        </button>                        <div style="padding: 4px 0;">                            <a class="enyo-margin-top-10 enyo-margin-bottom-10" ng-click="viewDentalLabOrderDetail(dentalLabOrder)">技加工单详情</a>                        </div>                        <div>                            <span class="enyo-text-light">开单医生：</span>{{ dentalLabOrder.orderUserName }}                        </div>                    </td>                </tr>            </table>        </div>        <div class="empty-list-hint" ng-show="dentalLabOrderList.length === 0">            <div style="margin-left: calc(50% - 150px); float: left;">                <i class="iconfont icon-caigouoff" style="font-size: 110px; color: #f7a51d;"></i>            </div>            <div style="margin-left: 20px; height: 150px; float: left; display: flex; align-items: center;">                <div>                    <div style="color:#575d6a;font-size: 18px;">当前没有申请单</div>                </div>            </div>        </div>    </div>    <div class="table-footer lc-table-footer" ng-hide="dentalLabOrderList.length === 0" style="border:none;margin-top:10px;">        <div pagination total-items="dentalLabOrderTotalCount"             items-per-page="searchCriteria.pageSize"             ng-model="searchCriteria.pageIndex" ng-change="onSearchDentalLabOrder()"             max-size="15"             first-text="第一页"             previous-text="前一页"             next-text="后一页"             last-text="最后一页"             rotate="true"             class="pagination new-page-color" boundary-links="true" style="margin:0;"></div>        <ul class="pagination new-page-color pagination-to-page" style="margin:0">            <li class="disabled">                <a style="padding: 0;padding-left: 5px;padding-right: 5px;height: 26px;">                    每页                    <input kendo-numeric-text-box k-min="1" k-max="50"                           k-ng-model="searchCriteria.pageSize"                           style="width:63px;" k-on-change="onSearchDentalLabOrder()"                           k-options="{format: \'#\', decimals:0}" />                    条                </a>            </li>        </ul>        <ul class="pagination" style="margin:0">            <li class="disabled">                <a>共{{ dentalLabOrderTotalCount }}条</a>            </li>        </ul>    </div>    <dental-lab-order-print-view></dental-lab-order-print-view></div>');templateCache.put('/app/patient/views/dental-lab/dialogs/patient-dental-lab-order-acceptance-result-select/patient-dental-lab-order-acceptance-result-select-view.html','<div ares-clean-kendo class="enyo dental-lab-order-acceptance-result">    <div class="enyo-modal-container">        <div class="enyo-modal-header clearfix">            <div class="pull-left enyo-modal-title">验收结果</div>            <div class="pull-right iconfont icon-guanbi" ng-click="cancel();"></div>        </div>        <div class="enyo-modal-content modal-body" style="min-height: 100px;font-size: 13px;">            <div class="acceptance-result-form">                <div class="form-group clearfix">                    <div class="col-sm-9 input-container" style="margin-left: 50px;margin-top: 20px;">                        <input class="form-control" type="text" name="result" id="result" ng-model="result" style="width: 280px;">                    </div>                </div>            </div>        </div>        <div class="enyo-modal-footer">            <span class="text-field" ng-click="cancel()">取消</span>            <button class="btn btn-primary last-field" ng-click="save()">确定</button>        </div>    </div></div>');templateCache.put('/app/patient/views/dental-lab/dialogs/patient-dental-lab-order-detail/patient-dental-lab-order-detail-view.html','<div class="enyo patient-dental-lab-order-detail-view">    <style>        .patient-dental-lab-order-detail-view {            font-size: 13px;        }        .patient-dental-lab-order-detail-view .dental-lab-item-cell {            float: left;            padding-left: 10px;            height: 40px;        }        .patient-dental-lab-order-detail-view .dental-lab-item-cell span {            line-height: 40px;        }        .patient-dental-lab-order-detail-view .dental-lab-order-detail-footer {            height: 56px;            line-height: 56px;            text-align: right;            position: absolute;            bottom: 0;            left: 3px;            width: 837px;        }            .patient-dental-lab-order-detail-view .order-pictures {                margin-top: 9px;            }                .patient-dental-lab-order-detail-view .order-pictures .order-pictures-header {                    line-height: 32px;                    background: #F3F7F7;                    padding-left: 10px;                }                .patient-dental-lab-order-detail-view .order-pictures .order-pictures-container {                    padding-top:14px;                    padding-left:10px;                }            .patient-dental-lab-order-detail-view .order-picture-area {                display: inline-block;                width: 140px;                height: 192px;                border: 1px solid #E3E3E3;                vertical-align:top;                margin-right:3px;                border-radius:2px;            }                .patient-dental-lab-order-detail-view .order-picture-area:hover {                    box-shadow: 0 1px 5px 0;                    cursor:pointer;                }                .patient-dental-lab-order-detail-view .order-picture-area .order-picture-area-main {                    width: 100%;                    height: 140px;                    display: table-cell;                    vertical-align: middle;                    border-bottom: 1px solid #E3E3E3;                    background: #FAFAFA;                }                    .patient-dental-lab-order-detail-view .order-picture-area .order-picture-area-main img {                        width:137px;                        max-height:100%;                    }                .patient-dental-lab-order-detail-view .order-picture-area .order-picture-area-info {                    text-align:center;                }    </style>    <div class="enyo-table-header-info enyo-border-0">        <span class="pull-left enyo-margin-right-10" style="font-size: 14px;">技加工单 - {{dentalLabOrder.orderNo}}</span>        <span class="pull-left" ng-bind-html="dentalLabOrder.orderStatus | dentalLabOrderStatusStr"></span>        <a class="pull-right enyo-link-reverse" href="javscript:void(0);" ng-click="logs(dentalLabOrder.id, dentalLabOrder.orderNo)">            <i class="iconfont icon-rizhi" style="font-size: 14px;"></i> 操作日志        </a>    </div>    <div class="enyo-table-header-info enyo-border-0">        <span class="enyo-text-light">单据日期：</span> {{dentalLabOrder.submitTime | toDateString}} |        <span class="enyo-text-light">开单医生：</span> {{dentalLabOrder.orderUserName}}    </div>    <div class="enyo-table-header-info enyo-border-0">        <span class="enyo-text-light">预约时间：</span> {{appointmentTime}} |        <span class="enyo-text-light">计划返回日期：</span> {{dentalLabOrder.expectedFinishTime | toDateString}} |        <span class="enyo-text-light">医生联系方式：</span> {{dentalLabOrder.contactPhoneNumber}}        <span class="enyo-text-light" ng-if="dentalLabOrder.labOrderNo"> | 外部编号：{{dentalLabOrder.labOrderNo}}</span>        <span class="pull-left" ng-if="dentalLabOrder.isUrgent"><span class="label label-warning">急用 </span></span>    </div>    <table class="enyo-table-header-secondary clearfix">        <thead>            <tr>                <th style="width: 16%">牙位</th>                <th style="width: 12%;">牙色值</th>                <th style="width: 14%;">名称</th>                <th style="width: 8%;">产地</th>                <th style="width: 8%;">单位</th>                <th style="width: 10%; text-align: center;">数量</th>                <th style="width: 10%; text-align: right;">单价</th>                <th style="width: 10%; text-align: right;">金额</th>                <th style="width: 12%; text-align: center;">备注</th>            </tr>        </thead>    </table>    <div class="table-main-container">        <div class="table-main-content">            <div class="supplier-group">                <div class="accordion-tab enyo-table-header-tertiary enyo-bg-light-blue enyo-text-primary clearfix" style="border-top:none;">                    <div class="pull-left">                        <span class="tab-title">{{dentalLabOrder.organizationName}}</span>                    </div>                    <span class="pull-right enyo-text-primary" style="margin-right: 12px;">                        <span class="num"                              ng-bind="dentalLabOrder.dentalLabOrderDetailDtos.length"></span><span>个项目</span>                    <span>总金额：</span>                    <span class="price" ng-bind="dentalLabOrder.salesAmount | toFormatPrice"></span>                    </span>                </div>                <table style="width:100%;" class="enyo-input-table">                    <tr class="product-list" ng-repeat="item in dentalLabOrder.dentalLabOrderDetailDtos track by $index">                        <td style="width: 16%;">                            <span class="enyo-single-line-text" title="{{item.toothCode}}">                                {{item.toothCodeStr}}                            </span>                        </td>                        <td style="width: 12%;">                            <span class="enyo-single-line-text" title="{{item.gumColorCode}} {{item.toothBodyColorCode}} {{item.toothIncisalColorCode}}">                                {{item.gumColorCode}} {{item.toothBodyColorCode}} {{item.toothIncisalColorCode}}                            </span>                        </td>                        <td style="width: 14%;">                            <span class="enyo-single-line-text" title="{{item.productName}}" style="color: #00a6c9;">                                {{item.productName}}                            </span>                        </td>                        <td style="width: 8%;">                            <span class="enyo-single-line-text" title="{{item.factoryLocation}}">                                {{item.factoryLocation}}                            </span>                        </td>                        <td style="width: 8%;">                            {{item.unit}}                        </td>                        <td style="width: 10%;">                            <span class="enyo-single-line-text" title="{{item.submitCount}}">                                {{item.submitCount}}                            </span>                        </td>                        <td style="width: 10%; text-align: right;">                            <span class="enyo-single-line-text" title="{{item.salesPrice}}">                                {{item.salesPrice}}                            </span>                        </td>                        <td style="width: 10%;text-align: right;">                            <span class="enyo-single-line-text" title="{{item.salesAmount}}">                                {{item.salesAmount}}                            </span>                        </td>                        <td style="width: 12%;text-align: center; position:relative;">                            <span class="enyo-single-line-text" title="{{item.note}}">                                {{item.note}}                            </span>                        </td>                    </tr>                </table>            </div>            <div class="order-pictures">                <div class="order-pictures-header">                    备注: {{dentalLabOrder.note}}                </div>                <div class="order-pictures-container">                    <div class="order-picture-area" ng-repeat="pic in pictures" ng-click="preViewPicture(pic)">                        <div class="order-picture-area-main">                            <img ng-src="{{pic.filePath}}" />                        </div>                        <div class="order-picture-area-info enyo-padding-5">                            <div class="enyo-single-line-text" style="padding:0 20px;">                                <span title="{{pic.pictureName}}">{{pic.pictureName}}</span>                            </div>                            <div class="enyo-single-line-text">                                <span>{{pic.recordCreatedTime|toLongDateMMString}}</span>                            </div>                        </div>                    </div>                </div>            </div>        </div>    </div>    <div class="dental-lab-order-detail-footer enyo-bg-light">        <span style="vertical-align: middle;">            共 <span class="enyo-text-warning-dark">{{dentalLabOrder.dentalLabOrderDetailDtos.length}}</span> 个项目        <span class="enyo-text-warning-dark enyo-margin-right-10" style="font-size: 18px;">总金额： {{dentalLabOrder.salesAmount | toFormatPrice}}</span>        </span>        <button ares-authorize="dentalLab.order.abort" class="btn btn-tertiary" ng-click="removeOrder(dentalLabOrder.id,\'作废\')" ng-if="dentalLabOrder.orderStatus == 10 || dentalLabOrder.orderStatus == 15">            作废        </button>        <button ares-authorize="dentalLab.order.apply" class="btn btn-default btn-wide" ng-if="dentalLabOrder.orderStatus === 0 || dentalLabOrder.orderStatus === 10" ng-click="editOrder()">            编辑技加工单        </button>    </div></div>');templateCache.put('/app/patient/views/dental-lab/dialogs/patient-dental-lab-order-difference/patient-dental-lab-order-difference-view.html','<div ares-clean-kendo class="enyo dental-lab-order-difference-view">    <style scoped>        .dental-lab-order-difference-view .patient-info {            line-height: 32px;            padding: 0 10px;        }        .dental-lab-order-difference-view .patient-info .label-text {            color: #9397A2;        }        .dental-lab-order-difference-view .patient-info .label-line {            padding: 0 5px;        }        .dental-lab-order-difference-view .patient-info .enyo-single-line-text {            max-width: 100px;            vertical-align: top;        }        .dental-lab-order-difference-view .order-difference-list {            margin: 10px;            border: 1px solid #cfdbdd;            max-height: 500px;            overflow-y: auto;        }        .dental-lab-order-difference-view .order-difference-list .enyo-grid-table td,        .dental-lab-order-difference-view .enyo-grid-table th {            border-width: 0;        }        .dental-lab-order-difference-view .order-difference-list .enyo-grid-table th {            background-color: #eee;        }        .dental-lab-order-difference-view .order-difference-list .enyo-grid-table tbody tr:nth-child(2n) td {            background-color: #f5f6f8;        }        .dental-lab-order-difference-view .balance-total {            position: absolute;            left: 10px;            margin-top: 6px;        }    </style>    <div class="enyo-modal-container">        <div class="enyo-modal-header clearfix">            <div class="pull-left enyo-modal-title">技加工单与厂商项目对比</div>            <div class="pull-right iconfont icon-guanbi" ng-click="cancel();"></div>        </div>        <div class="enyo-modal-content modal-body" style="min-height: 200px;font-size: 13px;padding:0;">            <div class="enyo-bg-light-blue patient-info clearfix">                <span class="label-text">技加工单：</span>                <span class="text">{{orderData.orderNo}}</span>                <span class="label-line">|</span>                <span class="label-text">订单日期：</span>                <span class="text">{{orderData.submitTime | toDateString}}</span>                <span class="label-line">|</span>                <span class="label-text">加工厂：</span>                <span class="text enyo-single-line-text">{{orderData.orgnizationName}}</span>                <span class="label-line">|</span>                <span class="label-text">患者：</span>                <span class="text enyo-single-line-text">{{orderData.patientName}}</span>            </div>            <div class="order-difference-list">                <table class="enyo-grid-table placed-left">                    <thead>                        <tr>                            <th>项目代码</th>                            <th>项目名称</th>                            <th>订单数量</th>                            <th>加工厂数量</th>                            <th>单位</th>                            <th>单价</th>                            <th>差额</th>                        </tr>                    </thead>                    <tbody>                        <tr ng-repeat="item in orderData.details track by $index">                            <td>                                <span class="enyo-double-line-text" title="{{item.producerCode}}">                                  {{item.producerCode}}                              </span>                            </td>                            <td>                                <span class="enyo-double-line-text" title="{{item.productName}}">                                  {{item.productName}}                              </span>                            </td>                            <td>                                <span class="enyo-double-line-text" ng-style="{\'color\' : item.submitCount != item.settlementCount ? \'#F7A41D\' : \'none\'}" title="{{item.submitCount}}">                                  {{item.submitCount}}                              </span>                            </td>                            <td>                                <span class="enyo-double-line-text" ng-style="{\'color\' : item.submitCount != item.settlementCount ? \'#F7A41D\' : \'none\'}" title="{{item.settlementCount}}">                                  {{item.settlementCount}}                              </span>                            </td>                            <td>                                <span class="enyo-double-line-text" title="{{item.unit}}">                                  {{item.unit}}                              </span>                            </td>                            <td>                                <span class="enyo-double-line-text" title="{{item.salesPrice}}">                                  {{item.salesPrice}}                              </span>                            </td>                            <td>                                <span class="enyo-double-line-text" title="{{item.balance}}">                                  {{item.balance}}                              </span>                            </td>                        </tr>                    </tbody>                </table>            </div>        </div>        <div class="enyo-modal-footer" style="padding: 10px;text-align: center;position: relative;">            <span class="balance-total">差额共计：{{balance}} 元</span>            <!-- <button class="btn lc-btn-primary" ng-click="save()" style="width: 92px;">生成账单</button> -->            <button class="btn lc-btn-default last-field" ng-click="cancel()">取消</button>        </div>    </div></div>');templateCache.put('/app/patient/views/dental-lab/dialogs/patient-dental-lab-order-edit/patient-dental-lab-order-edit-view.html','<div ares-clean-kendo class="enyo patient-dental-lab-order-edit-view">    <style>        .patient-dental-lab-order-edit-view {            overflow: hidden !important;            font-size: 13px;        }        .patient-dental-lab-order-edit-view .k-checkbox-label {            line-height: 1.1em !important;        }        .patient-dental-lab-order-edit-view .table-main-container {            height: calc(100vh - 342px);            position: relative;            overflow-y: auto;            width: 100%;        }        .patient-dental-lab-order-edit-view .coupon-freight-text>span {            margin-right: 8px;        }        .patient-dental-lab-order-edit-view .switch-suplier {            position: relative;        }        .patient-dental-lab-order-edit-view .suplier-list {            position: absolute;            z-index: 1012;            left: 0;            margin-left: -264px;            margin-bottom: 100px;            background: #ffffff;            border: 1px solid #00a6c9;            box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.20);            width: 278px;            height: 198px;            overflow-y: auto;        }        .patient-dental-lab-order-edit-view .suplier-list .s-list {            background-color: #fff;            height: 28px;            line-height: 28px;            font-size: 13px;            color: #575d6a;        }        .patient-dental-lab-order-edit-view .suplier-list .s-list.active {            background-color: #008fae;            color: #fff;        }        .patient-dental-lab-order-edit-view .suplier-list .s-list.head {            background-color: #00a6c9;            height: 32px;            line-height: 32px;            color: #fff;        }        .patient-dental-lab-order-edit-view .suplier-list .s-list>span {            display: block;            float: left;            overflow: hidden;            text-overflow: ellipsis;            white-space: nowrap;            text-align: left;            padding-left: 10px;            padding-right: 5px;        }        .patient-dental-lab-order-edit-view .suplier-list .s-list>span:first-child {            width: 178px;        }        .patient-dental-lab-order-edit-view .suplier-list .s-list>span:last-child {            width: 86px;        }        /*======================================================*/        .patient-dental-lab-order-edit-view .basic-info-form {            padding: 5px 10px;            margin-top: 5px;        }        .patient-dental-lab-order-edit-view .basic-info-form label {            display: block;            font-size: 12px;            margin-bottom: 2px;        }        .patient-dental-lab-order-edit-view .basic-info-form .k-widget {            width: 140px;            margin-right: 5px;        }        .patient-dental-lab-order-edit-view .product-search-bar {            padding: 5px 10px;        }        .patient-dental-lab-order-edit-view .table-header-cell {            float: left;            line-height: 28px;            padding-left: 10px;        }        .patient-dental-lab-order-edit-view .footer {            position: absolute;            bottom: 0;            width: 100%;            line-height: 56px;        }        .patient-dental-lab-order-edit-view .footer>div {            padding-left: 10px;        }        .patient-dental-lab-order-edit-view .footer .total-amount {            margin-right: 10px;            line-height: 32px;            display: inline-block;            height: 32px;            vertical-align: middle;        }        .patient-dental-lab-order-edit-view .ares-numeric-input {            vertical-align: middle;        }        .patient-dental-lab-order-edit-view .accordion-tab {            border-top: 0;        }        .patient-dental-lab-order-edit-view .sku-remark {            border: 1px solid #CFDBDD;            width: 264px;            position: absolute;            right: 26px;            top: 32px;            padding: 10px;            background: #fff;            box-shadow: 1px 1px 5px 0 rgba(0, 0, 0, 0.20);            z-index: 1;        }        .patient-dental-lab-order-edit-view .sku-remark .input-group {            float: left;            width: 200px;            margin-right: 10px;        }        .patient-dental-lab-order-edit-view .select-supplier .k-dropdown {            background: none;            height: 24px;            margin-top: -8px;            text-align: right;            margin-right: -10px;        }        .patient-dental-lab-order-edit-view .select-supplier .k-dropdown-wrap {            border: 0;            height: 24px !important;            background: none;            box-shadow: none !important;        }        .patient-dental-lab-order-edit-view .select-supplier .k-select {            display: none;        }        .patient-dental-lab-order-edit-view .select-supplier .k-input {            color: #F7A51D !important;        }        .patient-dental-lab-order-edit-view .table-main-content .supplier-group:last-child div:last-child {            border-bottom: 0;        }        .patient-dental-lab-order-edit-view .basic-info-form .ares-numeric-input input {            height: 32px;        }        .patient-dental-lab-order-edit-view .patient-info {            line-height: 32px;            padding: 0 10px;        }        .patient-dental-lab-order-edit-view .patient-info .label-text {            color: #9397A2;        }        .patient-dental-lab-order-edit-view .patient-info .label-line {            padding: 0 5px;        }        .patient-dental-lab-order-edit-view .patient-dental-lab-order-form label {            font-weight: normal;        }        .patient-dental-lab-order-edit-view .patient-info .enyo-single-line-text {            max-width: 100px;            vertical-align: top;        }        .patient-dental-lab-order-edit-view .checkbox-label {            margin-right: 15px;            font-weight: normal;            cursor: pointer;        }        .patient-dental-lab-order-edit-view .checkbox-label .ares-checkbox {            margin-top: -2px;            vertical-align: middle;            margin-right: 5px;        }        .patient-dental-lab-order-edit-view table.enyo-input-table .ares-emr-tooth-selector-view tbody tr {            border-bottom: none;        }        .patient-dental-lab-order-edit-view .ares-emr-tooth-selector-dropdown-view {            margin-bottom: 50px;        }        .upload-file-container {            margin: 20px 0 0 20px;        }        .upload-file-container label {            font-weight: normal;        }        .patient-dental-lab-order-edit-view table.tooth-chart tbody tr td {            padding-left: 0;        }    </style>    <div class="enyo-bg-light-blue patient-info clearfix">        <span class="label-text">患者姓名：</span>        <span class="text">{{patient.patientName}}<span                ng-if="patient.sex && patient.age">（{{patient.sex | sexTypeStr}}，<span                    ng-if="patient.age">{{patient.age}}岁</span>）</span></span>        <span class="label-line">|</span>        <span class="label-text">病历号：</span>        <span class="text">{{patient.privateId}}</span>        <span class="label-line">|</span>        <span class="label-text">诊所名称：</span>        <span class="text enyo-single-line-text">{{patient.officeName}}</span>        <span class="label-line">|</span>        <span class="label-text">医生：</span>        <span class="text enyo-single-line-text">{{patient.doctorName}}</span>    </div>    <div class="form form-inline basic-info-form patient-dental-lab-order-form">        <div class="form-group" style="width:24%;">            <label>                <span class="enyo-text-danger">*</span> 预约时间            </label>            <input id="appoint" type="text" class="form-control" style="width:100%;">        </div>        <div class="form-group" style="width:24%;">            <label>                <span class="enyo-text-danger">*</span> 计划返回日期            </label>            <input kendo-date-picker style="width:100%;" k-options="{format: \'yyyy-MM-dd\'}"                k-ng-model="dentalLabOrderData.expectedFinishTime" />        </div>        <div class="form-group" style="width:24%;">            <label>                <span class="enyo-text-danger">*</span> 医生联系方式            </label>            <input type="text" class="form-control" ng-model="dentalLabOrderData.contactPhoneNumber" max="20"                style="width:100%;">        </div>        <div class="form-group" style="width:24%;">            <label>                外部编号            </label>            <input type="text" class="form-control" ng-model="dentalLabOrderData.labOrderNo" style="width:100%;">        </div>    </div>    <div class="form">        <div class="form-group" style="margin-bottom: 0;">            <div class="col-sm-12" style="line-height: 21px;text-align: right;">                <label class="checkbox-label">                    <input type="checkbox" class="ares-checkbox" name="isUrgent"                        ng-model="dentalLabOrderData.isUrgent" />急用                </label>                <span ng-if="acceptanceChecked">                    <label class="checkbox-label">                        <input type="checkbox" disabled="disabled" class="ares-checkbox" name="acceptanceChecked"                            ng-model="acceptanceChecked" />返工件                    </label>                    <label class="ares-radio-inline" style="margin-right: 15px;">                        <input type="radio" name="result" ng-model="acceptanceResult" ng-value="2"><span                            class="radioInput"></span>返修                    </label>                    <label class="ares-radio-inline">                        <input type="radio" name="result" ng-model="acceptanceResult" ng-value="3"><span                            class="radioInput"></span>重做                    </label>                </span>            </div>        </div>    </div>    <div class="product-search-bar clearfix enyo-bg-light-blue" ng-if="!acceptanceChecked"        style="border-top: 1px solid #CFDBDD;">        <product-auto-complete-selector-view dealer-ids="dealerIds" on-select="addItemToList(selectedProduct)">        </product-auto-complete-selector-view>    </div>    <table class="enyo-table-header-secondary clearfix">        <thead>            <tr>                <th style="width: 14%">牙位</th>                <th style="width: 12%;">牙色值</th>                <th style="width: 20%;">名称</th>                <th style="width: 10%;">产地</th>                <th style="width: 8%;">单位</th>                <th style="width: 10%; text-align: center;">数量</th>                <th style="width: 7%; text-align: right;">单价</th>                <th style="width: 9%; text-align: right;">金额</th>                <th style="width: 10%; text-align: center;">操作</th>            </tr>        </thead>    </table>    <div class="table-main-container">        <div class="table-main-content">            <div class="supplier-group"                ng-repeat="dentalLabOrderItem in dentalLabOrderData.orders track by dentalLabOrderItem.orgnizationId"                ng-init="outerIndex = $index">                <div class="accordion-tab enyo-table-header-tertiary enyo-bg-light-blue enyo-text-primary clearfix">                    <div class="pull-left">                        <span class="tab-title">{{dentalLabOrderItem.orgnizationName}}</span>                    </div>                    <span class="pull-right enyo-text-primary" style="margin-right: 12px;">                        <span class="num" ng-bind="dentalLabOrderItem.orderDetails.length"></span><span>件物品</span>                        <span>总金额：</span><span class="price"                            ng-bind="dentalLabOrderItem.salesAmount | toFormatPrice"></span>                    </span>                </div>                <table style="width:100%;" class="enyo-input-table">                    <tr class="product-list" ng-repeat="item in dentalLabOrderItem.orderDetails track by $index"                        data-product-id="{{item.productId}}">                        <td style="width: 14%; padding-left: 0;">                            <span class="enyo-single-line-text" title="{{item.toothCode}}">                                <ares-emr-tooth-selector hide-sides="true" selected-tooth-codes="item.toothCode"                                    parent-selector=".product-list" on-tooth-code-changed="onToothCodeSelected(selectedToothCodes, dentalLabOrderItem, item)"></ares-emr-tooth-selector>                            </span>                        </td>                        <td style="width: 12%;">                            <span class="enyo-single-line-text"                                title="{{item.gumColorCode || \'请选择\'}} {{item.toothBodyColorCode}} {{item.toothIncisalColorCode}}"                                ng-click="selectToothColor(item);">                                {{item.gumColorCode || \'请选择\'}} {{item.toothBodyColorCode}}                                {{item.toothIncisalColorCode}}                            </span>                        </td>                        <td style="width: 20%;">                            <span class="enyo-single-line-text" title="{{item.productName}}{{item.specification}}"                                style="color: #00a6c9;">                                {{item.productName}}-{{item.specification}}                            </span>                        </td>                        <td style="width: 10%;">                            <span class="enyo-single-line-text" title="{{item.factoryLocation}}">                                {{item.factoryLocation}}                            </span>                        </td>                        <td style="width: 8%;">                            <span class="enyo-single-line-text" title="{{item.unit}}">{{item.unit}}</span>                        </td>                        <td style="width: 10%;">                            <ares-numeric-input value="item.submitCount" min="0"                                on-change="onItemNumberChange(dentalLabOrderItem,item)"></ares-numeric-input>                        </td>                        <td style="width: 7%; text-align: right;">                            <span class="enyo-single-line-text" title="{{item.salesPrice}}">                                {{item.salesPrice}}                            </span>                        </td>                        <td style="width: 9%;text-align: right;">                            <span class="enyo-single-line-text" title="{{item.salesAmount}}">                                {{item.salesAmount}}                            </span>                        </td>                        <td style="width: 10%;text-align: center; position:relative;">                            <!-- <span ng-hide="acceptanceChecked">                                <product-supplier-dropdown-view selected-dealer-name="orgnizationName"                                                         product-item="item" on-select="switchFactory(dentalLabOrderItem,outerIndex,item,index,dealer)"></product-supplier-dropdown-view>                            </span> -->                            <button class="btn icon-btn btn-xs btn-light-blue" ng-class="item.note ? \'btn-red-dot\' : \'\'"                                data-toggle="tooltip" data-placement="bottom" title="添加备注"                                ng-click="item.isEditingRemark = !item.isEditingRemark; note = item.note;">                                <i class="iconfont icon-beizhu"></i>                            </button>                            <button class="btn icon-btn btn-xs btn-light-yellow" ng-disabled="acceptanceChecked"                                data-toggle="tooltip" data-placement="bottom" title="删除"                                ng-click="onRemoveProduct(item,dentalLabOrderItem,$index,outerIndex)">                                <i class="iconfont icon-shanchu"></i>                            </button>                            <div class="sku-remark btn-group" ng-show="item.isEditingRemark">                                <div class="input-group">                                    <input type="text" class="form-control" ng-model="note">                                    <span class="input-group-addon btn btn-primary icon-btn"                                        ng-click="item.isEditingRemark = false; item.note = note;">                                        <i class="iconfont icon-queren"></i>                                    </span>                                </div>                                <button class="btn icon-btn btn-default pull-left"                                    ng-click="item.isEditingRemark = false; item.note = \'\'">                                    <i class="iconfont icon-guanbi"></i>                                </button>                            </div>                        </td>                    </tr>                    <tr>                        <td colspan="9" class="text-right enyo-bg-light">                            <span class="pull-left">                                备注：                                <input type="text" style="width: 300px;" placeholder="请输入..."                                    ng-model="dentalLabOrderItem.note">                            </span>                        </td>                    </tr>                </table>            </div>        </div>        <div class="upload-file-container">            <picture-host-edit-view target-type="{{targetType}}" picture-list="dentalLabOrderData.pictures">            </picture-host-edit-view>            <div class="form-group">                <label class="col-sm-2" style="width: auto;padding: 0;padding-right: 10px;padding-top: 5px;">                    设计要求                </label>                <textarea class="form-control col-sm-10" ng-model="dentalLabOrderData.specification" name="name"                    rows="2" cols="80" style="width: 730px;max-width: 100%;"></textarea>            </div>        </div>    </div>    <div class="footer enyo-bg-light clearfix">        <div class="pull-right">            <button ares-authorize="dentalLab.order.submit" class="btn btn-default" ng-click="onSave(1)"                ng-hide="acceptanceChecked">暂存</button>            <button ares-authorize="dentalLab.order.submit" class="btn btn-warning btn-wide"                ng-click="onSave(2)">提交</button>        </div>    </div></div>');templateCache.put('/app/patient/views/dental-lab/dialogs/patient-dental-lab-order-logs/patient-dental-lab-order-logs-view.html','<div ares-clean-kendo class="enyo dental-lab-order-logs-view">    <style scoped>        .dental-lab-order-logs-view .patient-info {            line-height: 32px;            padding: 0 10px;        }        .dental-lab-order-logs-view .patient-info .label-text {            color: #9397A2;        }        .dental-lab-order-logs-view .patient-info .label-line {            padding: 0 5px;        }        .dental-lab-order-logs-view .patient-info .enyo-single-line-text {            max-width: 100px;            vertical-align: top;        }        .dental-lab-order-logs-view .order-logs-list {            border: 1px solid #cfdbdd;            max-height: 500px;            overflow-y: auto;        }        .dental-lab-order-logs-view .order-logs-list .enyo-grid-table td,        .dental-lab-order-logs-view .enyo-grid-table th {            border-width: 0;        }        .dental-lab-order-logs-view .order-logs-list .enyo-grid-table th {            background-color: #eee;        }        .dental-lab-order-logs-view .order-logs-list .enyo-grid-table tbody tr:nth-child(2n) td {            background-color: #f5f6f8;        }    </style>    <div class="enyo-modal-container">        <div class="enyo-modal-header clearfix">            <div class="pull-left enyo-modal-title">操作日志</div>            <div class="pull-right iconfont icon-guanbi" ng-click="cancel();"></div>        </div>        <div class="enyo-modal-content modal-body" style="min-height: 200px;font-size: 13px;padding:0;">            <div class="enyo-bg-light-blue patient-info clearfix">                <span class="text">{{orderNo}}</span>            </div>            <div class="order-logs-list">                <table class="enyo-grid-table placed-left">                    <tbody>                        <tr ng-repeat="item in orderLogs track by $index">                            <td>                                <span class="enyo-double-line-text">                                  {{item.recordCreatedTime | toLongDateMMString}}                                  {{item.providerName}}                                  {{item.moduleLevelTwo}}                                  {{item.message}}                              </span>                            </td>                        </tr>                    </tbody>                </table>            </div>        </div>    </div></div>');templateCache.put('/app/patient/views/dental-lab/dialogs/patient-dental-lab-order-remove-note/patient-dental-lab-order-remove-note-view.html','<div ares-clean-kendo class="enyo dental-lab-order-acceptance-result">    <div class="enyo-modal-container">        <div class="enyo-modal-header clearfix">            <div class="pull-left enyo-modal-title">作废原因</div>            <div class="pull-right iconfont icon-guanbi" ng-click="cancel();"></div>        </div>        <div class="enyo-modal-content modal-body" style="min-height: 100px;font-size: 13px;">            <div class="borrow-form">                <div class="form-group clearfix">                    <div class="col-sm-9 input-container" style="margin-left: 50px;margin-top: 20px;">                        <textarea class="form-control" type="text" name="name" ng-model="note" rows="2" cols="8" style="width: 280px;" placeholder="请填写作废原因"></textarea>                    </div>                </div>            </div>        </div>        <div class="enyo-modal-footer">            <span class="text-field" ng-click="cancel()">取消</span>            <button class="btn btn-primary last-field" ng-click="save()">确定</button>        </div>    </div></div>');templateCache.put('/app/patient/views/dental-lab/dialogs/patient-dental-lab-order-tooth-color-select/patient-dental-lab-order-tooth-color-select-view.html','<div class="enyo patient-dental-lab-order-tooth-color-select-view ares-clean-kendo" ares-modal-dragable>    <style scoped>        .patient-dental-lab-order-tooth-color-select-view {            border: 1px solid #00a6c9;            box-shadow: 0 1px 20px 0 rgba(0, 0, 0, 0.20);        }        .patient-dental-lab-order-tooth-color-select-view .enyo-modal-container {            height: 100%;        }        .patient-dental-lab-order-tooth-color-select-view-body {            height: calc(100% - 65px);        }        .patient-dental-lab-order-tooth-color-select-view div.form-group {            margin-bottom: 10px;        }        .patient-dental-lab-order-tooth-color-select-view div[class^=\'col-sm\'],        .patient-dental-lab-order-tooth-color-select-view label[class^=\'col-sm\'] {            padding-left: 0px;            padding-right: 0px;        }        .patient-dental-lab-order-tooth-color-select-view .form-group label {            text-align: right;            padding-right: 10px !important;            font-size: 13px;            color: #575d6a;            line-height: 32px;            margin-bottom: 0px;            font-weight: 400;            width: 76px;        }        .patient-dental-lab-order-tooth-color-select-view .setting-icon {            position: absolute;            top: 6px;            margin-left: 10px;        }        .patient-dental-lab-order-tooth-color-select-view .form-control:not(textarea) {            height: 32px;        }        .patient-dental-lab-order-tooth-color-select-view textarea.form-control {            height: 50px;        }        .patient-dental-lab-order-tooth-color-select-view input,        .patient-dental-lab-order-tooth-color-select-view textarea {            max-width: 300px;        }        .patient-dental-lab-order-tooth-color-select-view .config-on {            background: transparent url(/Content/imgs/config-on-off.png) no-repeat 0 0!important;            width: 40px!important;            height: 18px!important;            background-size: cover;            transform: scale(1);            cursor: pointer        }        .patient-dental-lab-order-tooth-color-select-view .config-off {            background: transparent url(/Content/imgs/config-on-off.png) no-repeat -40px 0!important;            width: 40px!important;            height: 18px!important;            background-size: cover;            transform: scale(1);            cursor: pointer        }    </style>    <div class="enyo-modal-container">        <div class="enyo-modal-header clearfix">            <div class="pull-left enyo-modal-title">牙色选择</div>            <div class="pull-right iconfont icon-guanbi" ng-click="close();"></div>        </div>        <form class="cssd-container-modal-view modal-body">            <div class="enyo-modal-content patient-dental-lab-order-tooth-color-select-view-body">                <div class="form-group clearfix">                    <label for="name" class="col-sm-2 control-label">指定区域</label>                    <div class="col-sm-9" style="padding-top:3px;">                        <div style="float:left;margin-top:5px;" ng-class="toothColorData.isAreaSpecified?\'config-on\':\'config-off\'" class="config-icon" ng-click="setEnable(toothColorData)">&nbsp;</div>                        <span style="font-size:14px;margin-left: 8px;line-height: 28px;cursor:pointer" ng-click="setEnable(toothColorData)" ng-style="{color:toothColorData.isAreaSpecified?\'#00a8cb\':\'#575d6a\'}">{{toothColorData.isAreaSpecified?"启用":"未启用"}}</span>                    </div>                </div>                <div class="form-group clearfix" ng-show="!toothColorData.isAreaSpecified">                    <label for="name" class="col-sm-2 control-label">牙色</label>                    <div class="col-sm-9 input-container" style="position:relative;">                        <input id="toothColor" name="toothColor" style="width: 300px;" class="form-control" ng-model="toothColorData.toothColorCode" />                    </div>                </div>                <div class="enable" ng-show="toothColorData.isAreaSpecified">                    <div class="form-group clearfix">                        <label for="name" class="col-sm-2 control-label">牙龈</label>                        <div class="col-sm-9 input-container" style="position:relative;">                            <input id="gums" name="gumColorCode" style="width: 300px;" class="form-control" ng-model="toothColorData.gumColorCode" />                        </div>                    </div>                    <div class="form-group clearfix">                        <label for="name" class="col-sm-2 control-label">牙体</label>                        <div class="col-sm-9 input-container" style="position:relative;">                            <input id="toothBody" name="toothBodyColorCode" style="width: 300px;" class="form-control" ng-model="toothColorData.toothBodyColorCode" />                        </div>                    </div>                    <div class="form-group clearfix">                        <label for="name" class="col-sm-2 control-label">牙端</label>                        <div class="col-sm-9 input-container" style="position:relative;">                            <input id="toothTip" name="toothIncisalColorCode" style="width: 300px;" class="form-control" ng-model="toothColorData.toothIncisalColorCode" />                        </div>                    </div>                </div>            </div>        </form>        <div class="enyo-modal-footer">            <span class="text-field" ng-click="close()">取消</span>            <button class="btn btn-primary last-field" ng-click="save()">确定</button>        </div>    </div></div>');templateCache.put('/app/patient/views/disposal-tooth-artwork/disposal-tooth-board.html','<div class="disposal-tooth-board-wrap">    <div style="width:610px;" id="toothDiv">        <button aria-hidden="true" data-dismiss="popover" class="close" type="button" style="color:#333;position:relative;" ng-click="closeToothBoard()">&times;</button>        <div class="btn-group" role="group">            <button type="button" class="btn btn-default" ng-class="{\'btn-primary\':!isPrimary}" ng-click="switchTooth(\'secondary\')">恒牙</button>            <button type="button" class="btn btn-default" ng-class="{\'btn-primary\':isPrimary}" ng-click="switchTooth(\'primary\')">乳牙</button>            <button type="button" class="btn btn-default" ng-click="selectAll()" ng-disabled="!isEnableMethod()" style="margin-left:25px">{{isSelectAll}}</button>            <button type="button" class="btn btn-default" ng-click="selectUR()" ng-disabled="!isEnableMethod()" style="margin-left:25px">UR</button>            <button type="button" class="btn btn-default" ng-click="selectUL()" ng-disabled="!isEnableMethod()" style="margin-left:25px">UL</button>            <button type="button" class="btn btn-default" ng-click="selectLR()" ng-disabled="!isEnableMethod()" style="margin-left:25px">LR</button>            <button type="button" class="btn btn-default" ng-click="selectLL()" ng-disabled="!isEnableMethod()" style="margin-left:25px">LL</button>            <button type="button" class="btn btn-default" ng-click="clearTooth()" ng-disabled="!isEnableMethod()" style="margin-left:25px">清除</button>        </div>        <div class="tooth-board-tooth-container" style="height: 170px; position: relative">            <div style="z-index: 10; position: absolute">                <table id="secondaryToothContainer" ng-show="!isPrimary">                    <tr class="tooth-board-upper-arch">                        <td ng-repeat="toothCode in secondaryQuadrant1">                            <disposal-tooth-image-lite tooth-code="{{toothCode}}" selected-tooth-codes="selectedToothCodes" toggle-select="toggleSelect" data-arch=" upper"></disposal-tooth-image-lite>                        </td>                        <td>                            <div class="tooth-board-splitter"></div>                        </td>                        <td ng-repeat="toothCode in secondaryQuadrant2">                            <disposal-tooth-image-lite tooth-code="{{toothCode}}" selected-tooth-codes="selectedToothCodes" toggle-select="toggleSelect" data-arch="upper"></disposal-tooth-image-lite>                        </td>                    </tr>                    <tr class="tooth-board-lower-arch">                        <td ng-repeat="toothCode in secondaryQuadrant4">                            <disposal-tooth-image-lite tooth-code="{{toothCode}}" selected-tooth-codes="selectedToothCodes"                                                        toggle-select="toggleSelect" data-arch="lower"></disposal-tooth-image-lite>                        </td>                        <td>                            <div class="tooth-board-splitter"></div>                        </td>                        <td ng-repeat="toothCode in secondaryQuadrant3">                            <disposal-tooth-image-lite tooth-code="{{toothCode}}" selected-tooth-codes="selectedToothCodes"                                                        toggle-select="toggleSelect" data-arch="lower"></disposal-tooth-image-lite>                        </td>                    </tr>                </table>                <table id="primaryToothContainer" ng-show="isPrimary" style="margin-left:100px;margin-right:100px;">                    <tr class="tooth-board-upper-arch">                        <td ng-repeat="toothCode in primaryQuadrant1">                            <disposal-tooth-image-lite tooth-code="{{toothCode}}" selected-tooth-codes="selectedToothCodes" toggle-select="toggleSelect" data-arch="upper"></disposal-tooth-image-lite>                        </td>                        <td>                            <div class="tooth-board-splitter"></div>                        </td>                        <td ng-repeat="toothCode in primaryQuadrant2">                            <disposal-tooth-image-lite tooth-code="{{toothCode}}" selected-tooth-codes="selectedToothCodes" toggle-select="toggleSelect" data-arch="upper"></disposal-tooth-image-lite>                        </td>                    </tr>                    <tr class="tooth-board-lower-arch">                        <td ng-repeat="toothCode in primaryQuadrant4">                            <disposal-tooth-image-lite tooth-code="{{toothCode}}" selected-tooth-codes="selectedToothCodes" toggle-select="toggleSelect" data-arch="lower"></disposal-tooth-image-lite>                        </td>                        <td>                            <div class="tooth-board-splitter"></div>                        </td>                        <td ng-repeat="toothCode in primaryQuadrant3">                            <disposal-tooth-image-lite tooth-code="{{toothCode}}" selected-tooth-codes="selectedToothCodes" toggle-select="toggleSelect" data-arch="lower"></disposal-tooth-image-lite>                        </td>                    </tr>                </table>            </div>            <div style="width: 610px; height: 170px; background-color: transparent; z-index: 20; position: absolute" ng-show="!isEnableMethod()">            </div>        </div>        <div>            <table style="width:100%">                <tr>                    <td align="center" height="50">                        <label class="text-center">诊断</label>                    </td>                    <td>                        <input ng-model="diagnoseItemName" class="form-control" readonly="readonly" style="max-width:90%;float:left" />                        <span class="glyphicon glyphicon-remove" style="margin-left: -20px; cursor: pointer;" ng-click="clearDisposal()" ng-hide="!isEnableMethod()" title="清空文本框"></span>                        <button class="btn btn-default" ng-click="onDoubleClickDisposalItemInput()"                                style="margin-left:5px;" title="添加诊断项目" ng-disabled="!isEnableMethod()">                            <span class="glyphicon glyphicon-edit"></span>                        </button>                    </td>                </tr>                <tr>                    <td colspan="2">                        <textarea class="form-control"                                  style="resize:vertical;height:40px;max-width:100%;"                                  ng-model="diagnoseNote" rows="12"                                  placeholder="处置描述"></textarea>                    </td>                </tr>            </table>        </div>    </div></div>');templateCache.put('/app/patient/views/disposal-tooth-artwork/disposal-tooth-code.html','<div>    <a class="btn btn-sm tooth-code center-block" ng-if="isSelectable" ng-class="{\'btn-primary\':tooth.isSelected, \'btn-default\':!tooth.isSelected}" style="max-width:21px;padding:2px 5px;margin-top:5px" ng-click="toggleTooth()">        {{tooth.code2}}    </a>    <p ng-if="!isSelectable">{{toothCode}}</p></div>');templateCache.put('/app/patient/views/disposal-tooth-artwork/disposal-tooth-condition.html','<div class="tooth-conditions">    <div class="condition-one">        <a href="" class="btn btn-link" ng-disabled="isReadOnly">            <span class="glyphicon glyphicon-camera"></span>        </a>    </div>    <div class="condition-two">        <a href="" class="btn btn-link" ng-disabled="isReadOnly">            <span class="glyphicon glyphicon-camera"></span>        </a>    </div>    <div class="condition-three">        <a href="" class="btn btn-link" ng-disabled="isReadOnly">            <span class="glyphicon glyphicon-camera"></span>        </a>    </div>    <div class="condition-four">        <a href="" class="btn btn-link" ng-disabled="isReadOnly">            <span class="glyphicon glyphicon-camera"></span>        </a>    </div></div>');templateCache.put('/app/patient/views/disposal-tooth-artwork/disposal-tooth-selector.html','<div class="tooth-selector-wrap">    <table ng-click="openToothBoard($event)" class="tooth-selector-container" style="border-collapse:collapse;">        <tr style="border-bottom:1px solid gray" class="tooth-selector-upper-arch">            <td class="tooth-selector-quadrant" id="quadrant1" style="text-align: right; border-right: 1px solid gray;">                {{quadrant1Text}}            </td>            <td class="tooth-selector-quadrant" id="quadrant2">{{quadrant2Text}}</td>        </tr>        <tr class="tooth-selector-lower-arch">            <td class="tooth-selector-quadrant" id="quadrant4" style="text-align: right; border-right: 1px solid gray;">                {{quadrant4Text}}            </td>            <td class="tooth-selector-quadrant" id="quadrant3">{{quadrant3Text}}</td>        </tr>    </table>    <div style="background-color:transparent;width:10px;height:10px;margin-top:-35px;margin-left:5px;"         popover-handle popover-trigger=\'open\' pop-show="{{isToothBoardOpened}}"         popover-placement="{{popoverPlacement}}" popover-template="toothBoardUrl" popover-append-to-body="true"         ng-if="popoverPlacement==\'left\'"></div>    <div style="background-color:transparent;width:10px;height:10px;margin-top:-35px;float:right"         popover-handle popover-trigger=\'open\' pop-show="{{isToothBoardOpened}}"         popover-placement="{{popoverPlacement}}" popover-template="toothBoardUrl" popover-append-to-body="true"         ng-if="popoverPlacement==\'right\'"></div>    <script type="text/ng-template" id="toothBoard.html">        <disposal-tooth-board selected-tooth-codes="selectedToothCodes"                              selected-tooth-items="selectedToothItem()"                              diagnose-item-name="diagnoseItem.diagnoseItemName"                              diagnose-note="diagnoseItem.notes"                              diagnose-item-code="diagnoseItem.diagnoseItemCode"                              show-disposal-dialog="showDisposalDialog"                              is-enable-method="isEnableMethod()"                              close-tooth-board="closeToothBoard()"></disposal-tooth-board>    </script></div>');templateCache.put('/app/patient/views/lisorder/patient-lisorder-edit-view.html','<div class="ares-main-content" ares-clean-kendo>    <div class="row" style="margin-right:0px">        <div id="treeDiv" class="col-md-3" ng-show="isShowTree&&editstatus == 1">            <div class="panel panel-primary">                <div class="panel-heading" style="padding:10px 3px !important;">                    检验项目列表                </div>                <div class="panel-body treeviewContainer" id="itemlist">                    <div kendo-tree-view="chargeItemFullTree"                         k-data-text-field="[\'itemName\',\'treeLabelText\']"                         k-data-source="chargeItemFullTreeData"                         k-on-change="onChargeItemFullTreeChange(dataItem)"                         ng-dblclick="onDoubleClickChargeItemFullTree($event)" style="height:100%; overflow-y:auto;">                    </div>                </div>            </div>        </div>        <div id="listDiv" class="col-md-8" style="float:left;">            <div class="panel panel-primary">                <div class="panel-heading clearfix" id="lisorderhead" style="padding:3px 3px !important;" ng-if="editstatus==1">                    <button class="btn btn-default" ng-show="isShowTree" ng-click="hideTree()" ng-disabled="isdisable||isDisableDbClick" title="隐藏列表">                        <span class="glyphicon glyphicon-chevron-left"></span>                    </button>                    <button class="btn btn-default" ng-hide="isShowTree" ng-click="showTree()" ng-disabled="isdisable||isDisableDbClick" title="显示列表">                        <span class="glyphicon glyphicon-chevron-right"></span>                    </button>                    <input id="chargeItemSearch" style="width:350px;" />                </div>                <style scoped>                    .k-grid td {                        padding: 0;                    }                                            .k-grid .btn {            padding: 1px 4px 1px 6px;        }                    .myLable {                        padding-right: 0 !important;                        padding-top: 7px !important;                    }                    .myRequired {                        color: red !important;                    }                    #lisorderPanel {                        padding:0 !important;                    }                                        table tr td {                        padding:2px !important;                    }                </style>                <div id="lisorderPanel" class="panel-body">                    <div id="lisorderDetailGrid"></div>                    <div>                                               <table style="margin-top: 20px; width: 100%; background-color: #F6F6F6;">                            <tr>                                <td>                                    <label class="myLable myRequired">申请医生*:</label>                                </td>                                <td>                                    <input id="doctor" type="text" class="form-control" style="width:165px;" ng-disabled="currentLisOrder.orderStatus!=\'未提交\'">                                </td>                                <td>                                    <label class="myLable ">申请科室:</label>                                </td>                                <td>                                    <input id="department" type="text" class="form-control" style="width:165px;" ng-disabled="currentLisOrder.orderStatus!=\'未提交\'">                                </td>                            </tr>                            <tr>                                <td>                                    <label class="myLable myRequired">就诊时间*:</label>                                </td>                                <td>                                    <input id="appoint" type="text" class="form-control" style="width:190px;" ng-disabled="currentLisOrder.orderStatus!=\'未提交\'">                                </td>                            </tr>                            <tr>                                <td>                                    <label class="myLable" >备注:</label>                                </td>                                <td colspan="3">                                    <input class="form-control" ng-disabled="currentLisOrder.orderStatus!=\'未提交\'"  ng-model="currentLisOrder.comments" rows="1" style="" ng-disabled="currentLisOrder.viewStatus==\'browser\'"></input>                                </td>                            </tr>                        </table>                    </div>                    <div style="margin-top:10px">                        <button class="btn btn-primary" ng-disabled="currentLisOrder.orderStatus!=\'未提交\'" ng-click="saveLisOrder()" title="保存医嘱，可以反复修改，不会产生待收费记录">保存</button>                        <button class="btn btn-primary" ng-disabled="currentLisOrder.orderStatus!=\'未提交\'" ng-click="submitLisOrder()" title="提交医嘱，提交后不能修改，会产生待收费记录">提交</button>                        <button class="btn btn-primary" ng-disabled="currentLisOrder.orderStatus==\'未提交\'" print-div="PrintLisOrder" title="打印检验申请单">打印</button>                    </div>                </div>            </div>        </div>        <div id="PrintLisOrder" style="display:none;">            <style scoped>                .titleFont {                    font-size: 10px;                    font-family: SimHei;                }                .boldFont {                    font-weight: bolder;                    font-family: SimHei;                }            </style>            <div style="font-size:smaller;padding:0 130px 0 10px; width:80%;">                <div style="text-align: center; font-size: 20px;" class="boldFont">{{office.name}}检验申请单</div>                <div >                    <table style="width:100%;">                        <tr>                            <td class="titleFont" width="35%"><span class="boldFont">申请单编号: </span>{{currentLisOrder.orderNo}}</td>                            <td class="titleFont" width="30%"><span class="boldFont">申请医生: </span>{{currentLisOrder.doctorName}}</td>                            <td class="titleFont" width="35%"><span class="boldFont">申请科室: </span>{{currentLisOrder.departmentName}}</td>                        </tr>                        <tr>                            <td class="titleFont" width="35%"><span class="boldFont">患者姓名:</span>{{patient.name}}</td>                            <td class="titleFont" width="30%"><span class="boldFont">患者性别: </span>{{patient.sex|toSexString}}</td>                            <td class="titleFont" width="35%"><span class="boldFont">患者年龄: </span>{{patient.birth|toLongDateString}}</td>                        </tr>                    </table>                </div>                <div style="border-top:2px  solid black;">                        <table style="width: 100%; style="border-bottom:1px  solid black;"" class="titleFont">                            <thead>                                <tr>                                    <th style="text-align:left;font-weight:bolder;" class="titleFont">检验项目</th>                                    <th style="text-align:left;font-weight:bolder;" class="titleFont">单位</th>                                    <th style="text-align:left;font-weight:bolder;" class="titleFont">单价</th>                                    <th style="text-align:left;font-weight:bolder;" class="titleFont">数量</th>                                    <th style="text-align:left;font-weight:bolder;" class="titleFont">备注</th>                                </tr>                            </thead>                            <tbody>                                <tr ng-repeat="item in currentLisOrder.laboratoryOrderDetailList">                                    <td width="35%" class="titleFont">{{item.itemName}}</td>                                    <td width="10%" class="titleFont">{{item.unit}}</td>                                    <td width="10%" class="titleFont">{{item.price}}</td>                                    <td width="10%" class="titleFont">{{item.count}}</td>                                    <td width="10%" class="titleFont">{{item.notes}}</td>                                </tr>                            </tbody>                        </table>                </div>                <div style="border-top:2px  solid black;">                    <table style="width:100%;" class="titleFont">                        <tr>                            <td><span class="boldFont">备注: </span>{{currentLisOrder.comments}}</td>                            <td align="right"><span class="boldFont">申请时间: </span>{{currentLisOrder.submitDataTime|toDateTimeString}}</td>                        </tr>                    </table>                </div>            </div>        </div>    </div>    <notification-upload-success></notification-upload-success></div>');templateCache.put('/app/patient/views/lisorder/patient-lisorder-table-view.html','<div class="ares-main-content" ares-clean-kendo>    <style scoped>        .k-grid td {            padding: 0;        }                .k-grid .btn {            padding: 1px 4px 1px 6px;        }    </style>    <div id="lisorderList">    </div>    <notification-upload-success></notification-upload-success></div>');templateCache.put('/app/patient/views/lisorder/patient-lisorder-view.html','<div>    <div class="form-group" style="padding-left:10px; margin-top:10px">        <button type="button" class="btn btn-default"                ares-authorize="patientLisOrder.history"                ng-click="switchState(\'patientLisOrder.historyRecords\')">            <span class="glyphicon glyphicon-dashboard" aria-hidden="true"></span>历史记录        </button>        <button type="button" class="btn btn-default"                ares-authorize="patientLisOrder.create"                ng-click="createNewOrder()" ares-not-archive>            <span class="glyphicon glyphicon-user" aria-hidden="true"></span> 新建记录        </button>    </div>    <div ui-view></div></div>');templateCache.put('/app/patient/views/outprocess/outprocess-fixed-denture-view.html','<div class="ares-main-content" ares-clean-kendo ares-patient-container>    <div class="row" style="margin-right:0px">        <div class="col-md-12">            <form name="outprocessForm" class="outProcessControl" novalidate>                <div class="form-group col-md-12" style="margin-left:-15px;">                    <style scoped>                        .myRequired {                            color: red !important;                        }                        textarea {                            max-width: 580px;                        }                    </style>                    <div class="form-group col-md-12">                        <label class="col-sm-2 myLable myRequired">就诊时间*:</label>                        <div class="col-sm-2" style="margin-left:-65px;">                            <input id="appoint" type="text" class="form-control" style="width:200px;">                        </div>                        <label class="col-sm-2" style="margin-left:60px;">订单编号：</label>                        <div class="col-sm-1" style="margin-left:-65px;">                            <input type="text" style="width:175px;" class="form-control" ng-model="currentOutprocessOrder.orderNo">                        </div>                    </div>                    <div class="form-group col-md-12">                        <label class="col-sm-2">加工单位：</label>                        <div class="col-sm-2" style="margin-left:-65px;">                            <input id="supplyers" type="text" class="form-control" style="width:120px;">                            <button class="k-select btn btn-default" id="addSupplyer" style="padding:5px 9px;" ng-click="addSupplyers()" title="添加技加工厂信息">                                <span class="glyphicon glyphicon-plus"></span>                            </button>                        </div>                        <label class="col-sm-2" style="margin-left:60px;">业务员：</label>                        <div class="col-sm-2" style="margin-left:-65px;">                            <input id="picker" type="text" class="form-control" style="width:120px;" ng-model="currentOutprocessOrder.pickerName">                        </div>                        <div class="col-sm-1" style="margin-left:-45px;">                            <button class="k-select btn btn-default" id="btnEditPickers" style="padding:5px 9px;" ares-config-click="editPickers()" title="编辑业务员信息">                                <span class="glyphicon glyphicon-cog"></span>                            </button>                        </div>                        </div>                    <div class="form-group col-md-12">                        <label class="col-sm-2">联系电话：</label>                        <div class="col-sm-2" style="margin-left:-65px;">                            <input ng-model="currentOutprocessOrder.pickerPhone" type="text" class="form-control" style="width:175px;">                        </div>                        <label class="col-sm-2" style="margin-left:60px;">送件时间:</label>                        <div class="col-sm-1" style="margin-left:-65px;">                            <input kendo-date-time-picker class="form-control"                                   k-ng-model="currentOutprocessOrder.sendDate"                                   k-format="\'yyyy-MM-dd HH:mm\'"                                   style="width:200px;" />                        </div>                    </div>                    <div class="form-group col-md-12">                        <label class="col-sm-2">订单状态</label>                        <div class="col-sm-2" style="margin-left:-65px;">                            <input id="orderStatus" type="text" class="form-control" style="width:120px;">                            <button class="k-select btn btn-default" id="btnEditOrderType" style="padding:5px 9px;" ares-config-click="editDesignType(\'技加工状态\')">                                <span class="glyphicon glyphicon-cog"></span>                            </button>                        </div>                        <label class="col-sm-2" style="margin-left:60px;">收件时间:</label>                        <div class="col-sm-1" style="margin-left:-65px;">                            <input kendo-date-time-picker class="form-control"                                   k-ng-model="currentOutprocessOrder.backDate"                                   k-format="\'yyyy-MM-dd HH:mm\'"                                   style="width:200px;" />                        </div>                    </div>                    <div class="form-group col-md-12">                        <label class="col-sm-2">医生姓名：</label>                        <div class="col-sm-2" style="margin-left:-65px;">                            <input id="doctor" type="text" class="form-control" style="width:200px;">                        </div>                        <label class="col-sm-2" style="margin-left:60px;">患者收费:</label>                        <div class="col-sm-1" style="margin-left:-65px;">                            <input style="width:200px;" kendo-numeric-text-box k-min="0" k-max="99999999" k-ng-model="currentOutprocessOrder.customerPrice" />                        </div>                    </div>                    <div class="form-group col-md-12">                        <!--<label class="col-sm-2">备注信息：</label>                        <div class="col-sm-2" style="margin-left:-65px;">                            <textarea id="orderNotes" class="form-control" ng-model="currentOutprocessOrder.notes" rows="1" style="width:175px;"></textarea>                        </div>-->                        <label class="col-sm-2 ">试戴时间:</label>                        <div class="col-sm-2" style="margin-left:-65px;">                            <input kendo-date-time-picker class="form-control"                                   k-ng-model="currentOutprocessOrder.tryDateTime"                                   k-format="\'yyyy-MM-dd HH:mm\'"                                   style="width:200px;" />                        </div>                        <label class="col-sm-2" style="margin-left:60px;">加工费:</label>                        <div class="col-sm-1" style="margin-left:-65px;">                            <input style="width:200px;" kendo-numeric-text-box k-min="0" k-max="99999999" k-ng-model="currentOutprocessOrder.factoryPrice" />                        </div>                    </div>                    <!--<div class="form-group col-md-12">                        <label class="col-sm-2 myLable ">试戴时间:</label>                        <div class="col-sm-1" style="margin-left:-65px;">                            <input kendo-date-time-picker class="form-control"                                   k-ng-model="currentOutprocessOrder.tryDateTime"                                   k-format="\'yyyy-MM-dd HH:mm\'"                                   style="width:200px;" />                        </div>                    </div>-->                    <div class="form-group col-md-12" style="padding-left:30px;">                        <label class="checkbox-inline">                            <input type="checkbox" ng-model="currentOutprocessOrder.annex[0]"> 对颌模                        </label>                        <label class="checkbox-inline">                            <input type="checkbox" ng-model="currentOutprocessOrder.annex[1]">蜡堤                        </label>                        <label class="checkbox-inline">                            <input type="checkbox" ng-model="currentOutprocessOrder.annex[2]">硅橡胶                        </label>                        <label class="checkbox-inline">                            <input type="checkbox" ng-model="currentOutprocessOrder.annex[3]">原牙                        </label>                        <label class="checkbox-inline">                            <input type="checkbox" ng-model="currentOutprocessOrder.annex[4]">研究模                        </label>                        <label class="checkbox-inline">                            <input type="checkbox" ng-model="currentOutprocessOrder.annex[5]">颌架                        </label>                    </div>                    <!--固定义齿订单详情部分-->                    <div ng-if="$parent.currentOutprocessOrder.orderType == \'固定义齿\'">                        <div class="form-group col-md-11" style="margin-bottom:0;">                            <label class="col-sm-2" style="margin-top:10px !important; ">加工产品</label>                            <div>                                <input id="dentalProductSearch" style="width:400px;margin-bottom:5px !important;" />                                <button class="btn btn-default" style="margin-bottom:5px !important;" ng-click="editOutProcessItem()">编辑产品</button>                                <button class="btn btn-default" style="margin-bottom:5px !important;" ng-click="editDesignType(\'色号\')">编辑色号</button>                            </div>                        </div>                        <div class="form-group col-md-11" style="margin-bottom:0;">                            <table class=" table table-striped table-bordered">                                <tbody>                                    <tr ng-repeat="item in currentOutprocessOrder.orderDetailList">                                        <td style="width:110px;padding-top:0;"><ares-tooth-selector selected-tooth-codes="item.fdiToothCodesArray" popover-placement="bottom"></ares-tooth-selector></td>                                        <td style="width:300px;">                                            {{item.itemName}}                                        </td>                                        <td style="width:170px;">                                            比色：                                            <select id="colorcode{{$index}}"                                                    kendo-drop-down-list                                                    k-data-text-field="\'itemName\'"                                                    k-data-value-field="\'itemName\'"                                                    k-data-source="colorCodeList"                                                    ng-model="item.colorCode"                                                    style="width:100px;"></select>                                        </td>                                        <td style="width:170px;">                                            基牙色：                                            <select id="colorcode{{$index}}"                                                    kendo-drop-down-list                                                    k-data-text-field="\'itemName\'"                                                    k-data-value-field="\'itemName\'"                                                    k-data-source="colorCodeList"                                                    ng-model="item.notes"                                                    style="width:100px;"></select>                                        </td>                                        <td align="center" style="width:40px; align-content:center;vertical-align:central;">                                            <div style="display:inline-block;">                                                <button class="btn btn-xs btn-default"                                                        ng-click="deleteOrderDetail($index)">                                                    <span class="glyphicon glyphicon-trash" aria-hidden="true"></span>                                                </button>                                            </div>                                        </td>                                    </tr>                                </tbody>                            </table>                        </div>                                      </div>                    <div class="form-group col-md-12">                        <label class="col-sm-2 myLable">医生备注:</label>                        <div class="col-sm-10" style="margin-left:-65px;">                            <textarea class="form-control " rows="3" ng-model="currentOutprocessOrder.doctorNotes"></textarea>                        </div>                                            </div>                    <div class="form-group col-md-12">                        <label class="col-sm-2 myLable">技加工生产提示:</label>                        <div class="col-sm-10" style="margin-left:-65px;">                            <textarea class="form-control " rows="3" ng-model="currentOutprocessOrder.manufactureNotes"></textarea>                        </div>                    </div>                  </div>                <div class="form-group col-md-12">                    <label class="col-sm-2 myLable">订单图片:</label>                    <style scoped>                        .image-view-box {                            position: absolute;                            background-color: white;                            border: 1px solid #cccccc;                            color: #333333;                            bottom: 3px;                            right: 30px;                            width: 22px;                            height: 24px;                            z-index: 100;                            line-height: 24px;                            border-radius: 3px;                        }                          .image-delete-box {                            position: absolute;                            background-color: white;                            border: 1px solid #cccccc;                            color: #333333;                            bottom: 3px;                            right: 3px;                            width: 22px;                            height: 24px;                            z-index: 100;                            line-height: 24px;                            border-radius: 3px;                        }                           .image-view-box:hover, .image-delete-box:hover {                                background-color: #e6e6e6;                            }                    </style>                    <div class="col-sm-10" style="margin-left:-75px;">                        <div ng-repeat="picture in pictureList" class="form-group col-sm-5" style="height: 200px; width: 200px; MARGIN-RIGHT: auto; text-align: center; MARGIN-LEFT: 25px; line-height: 200px; vertical-align: middle; margin-bottom: 20px; border: 1px solid lightgray; " ng-mouseenter="isMouseHover=true" ng-mouseleave="isMouseHover=false">                            <a href="" target="_blank" style="max-width:100%;max-height:100%; vertical-align: middle;">                                <img ng-src="{{picture.filePath}}" style="max-height: 200px; max-width: 100%; margin: 0 auto; vertical-align: middle; position: static; top: -50%; left: -50%;" />                            </a>                            <div class="image-view-box" ng-click="openFullPicture(picture)"                                 ng-show="isMouseHover">                                <span class="glyphicon glyphicon-eye-open" style="font-size:12px"></span>                            </div>                            <div class="image-delete-box" ng-click="deletePicture(picture)"                                 ng-show="isMouseHover">                                <span class="glyphicon glyphicon-trash" style="font-size:12px"></span>                            </div>                        </div>                    </div>                </div>            </form>        </div>        <div class="form-group col-md-12" style="padding-left:30px;">            <button type="button" class="btn btn-success" ng-disabled="!isAllowSaveOrder()" ng-click="saveOutprocessOrder(true)">保存</button>            <button type="button" class="btn btn-success" ng-disabled="!isAllowPrint()" print-div="{{printTemplateId}}">打印</button>            <button type="button" class="btn btn-success" ng-disabled="!isAllowSendOrder()" ng-click="sendOutProcessOrder()">保存并发送订单</button>            <button type="button" class="btn btn-success" ng-disabled="!isAllowSendPicture()" ng-click="sendOrderPictures()">发送图片</button>            <button type="button" class="btn btn-success" ng-disabled="!isAllowGetOrderStatus()" ng-click="getOutProcessStatus()">订单状态</button>            <div class="col-sm-2 image-item-border" style="margin-left:-15px;" ng-include src="buildPictureTemplateUrl()"></div>            <!--<button type="button" class="btn btn-success" print-div="#singleEMRPrintDvi">打印</button>-->        </div>        <div>            <div id="gdyc" style="display: none;">                <style scoped>                    .titleFont {                        font-size: 10px;                        font-family: SimHei;                    }                    .boldFont {                        font-weight: bolder;                        font-family: SimHei;                    }                                        .boldFontWarning {                        font-weight: bolder;                        font-family: SimHei;                        color:red;                    }                </style>                <div style="font-size:smaller;padding:0 130px 0 10px; width:100%;">                    <div style="text-align: center; font-size: 20px;" class="boldFont">Royal Dental Lab固定类设计单</div>                    <div style="border-bottom:3px solid black;">                        <table style="width:100%;">                            <tr>                                <td class="titleFont" width="40%"><span class="boldFont">医院名称：</span>{{office.name}}</td>                                <td class="titleFont" width="30%"><span class="boldFont">医生姓名：</span>{{currentOutprocessOrder.doctorName}}</td>                                <td class="titleFont" width="30%"><span class="boldFont">患者姓名：</span>{{patient.name}}</td>                            </tr>                            <tr>                                <td class="titleFont" width="40%"><span class="boldFont">戴牙时间：</span>{{currentOutprocessOrder.tryDateTime|toLongDateString}}</td>                                <td class="titleFont" width="30%"><span class="boldFont">患者性别：</span>{{patient.sex|toSexString}}</td>                                <td class="titleFont" width="30%"><span class="boldFont">患者年龄：</span>{{patient.birth|toLongDateString}}</td>                            </tr>                            <tr>                                <td class="titleFont" colspan="3"><span class="boldFont">附录：</span>{{currentOutprocessOrder.annexString}}</td>                            </tr>                            <tr>                                <td class="titleFont" colspan="3"><span class="boldFont">编号：</span>{{currentOutprocessOrder.orderNo}}</td>                            </tr>                        </table>                    </div>                    <div style="border-bottom:1px solid black;">                        <table style="width: 100%;" class="titleFont">                            <thead>                                <tr>                                    <th style="text-align:left;font-weight:bolder;" class="titleFont">牙位</th>                                    <th style="text-align:left;font-weight:bolder;" class="titleFont">产品名称</th>                                    <th style="text-align:left;font-weight:bolder;" class="titleFont">比色</th>                                    <th style="text-align:left;font-weight:bolder;" class="titleFont">基牙色</th>                                </tr>                            </thead>                            <tbody>                                <tr ng-repeat="item in currentOutprocessOrder.orderDetailList">                                    <td width="10%" height="50px;">                                        <ares-tooth-selector selected-tooth-codes="item.fdiToothCodesArray"></ares-tooth-selector>                                    </td>                                    <td width="20%" class="titleFont">{{item.itemName}}</td>                                    <td width="20%" class="titleFont">{{item.colorCode}}</td>                                    <td width="20%" class="titleFont">{{item.notes}}</td>                                </tr>                            </tbody>                        </table>                    </div>                    <div>                        <table style="width:100%;" class="titleFont">                            <tr>                                <td><span class="boldFontWarning">医生备注: </span>{{currentOutprocessOrder.doctorNotes}}</td>                            </tr>                            <tr>                                <td><span class="boldFontWarning">技加工身材提示: </span>{{currentOutprocessOrder.manufactureNotes}}</td>                            </tr>                            <tr>                                <td><span class="boldFontWarning">医生联系方式: </span>{{currentOutprocessOrder.doctorPhone}}</td>                            </tr>                        </table>                    </div>                </div>            </div>        </div>    </div></div><notification-upload-success></notification-upload-success>');templateCache.put('/app/patient/views/outprocess/patient-outprocess-catagory-dialog.html','<div ares-modal-dragable id="outProcessOrderCataDialog" ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">请选择一种义齿类别</h4>    </div>    <div class="modal-body ares-dialog-body">       <div id="statusGrid">           <div class="btn-group btn-group-lg" ng-repeat="cata in productCatagoryList"  role="group" aria-label="...">               <button class=" btn  btn-primary" ng-click="clickCatagoryButton(cata.itemName)" style="margin:5px;">{{cata.itemName}}</button>           </div>    </div></div>');templateCache.put('/app/patient/views/outprocess/patient-outprocess-connect-view.html','<div class="ares-main-content" ares-clean-kendo ares-patient-container>    <div class="row" style="margin-right:0px">        <div class="col-md-12">            <form name="outprocessForm" class="outProcessControl" novalidate>                <div class="form-group col-md-12" style="margin-left:-15px;">                    <style scoped>                        .myRequired {                            color: red !important;                        }                    </style>                    <div class="form-group col-md-12">                        <label class="col-sm-2 myLable myRequired">就诊时间*:</label>                        <div class="col-sm-2" style="margin-left:-65px;">                            <input id="appoint" type="text" class="form-control" style="width:200px;">                        </div>                        <label class="col-sm-2" style="margin-left:60px;">订单编号：</label>                        <div class="col-sm-1" style="margin-left:-65px;">                            <input type="text" style="width:175px;" class="form-control" ng-model="currentOutprocessOrder.orderNo">                        </div>                    </div>                    <div class="form-group col-md-12">                        <label class="col-sm-2">加工单位：</label>                        <div class="col-sm-2" style="margin-left:-65px;">                            <input id="supplyers" type="text" class="form-control" style="width:120px;">                            <button class="k-select btn btn-default" id="addSupplyer" style="padding:5px 9px;" ng-click="addSupplyers()" title="添加技加工厂信息">                                <span class="glyphicon glyphicon-plus"></span>                            </button>                        </div>                        <label class="col-sm-2" style="margin-left:60px;">业务员：</label>                        <div class="col-sm-3" style="margin-left:-65px;">                            <input id="picker" type="text" class="form-control" style="width:120px;display: inline-block;" ng-model="currentOutprocessOrder.pickerName">                            <button class="k-select btn btn-default" id="btnEditPickers" style="padding:5px 9px;" ares-config-click="editPickers()" title="编辑业务员信息">                                <span class="glyphicon glyphicon-cog"></span>                            </button>                        </div>                    </div>                    <div class="form-group col-md-12">                        <label class="col-sm-2">联系电话：</label>                        <div class="col-sm-2" style="margin-left:-65px;">                            <input ng-model="currentOutprocessOrder.pickerPhone" type="text" class="form-control" style="width:175px;">                        </div>                        <label class="col-sm-2" style="margin-left:60px;">送件时间:</label>                        <div class="col-sm-1" style="margin-left:-65px;">                            <input kendo-date-time-picker class="form-control"                                   k-ng-model="currentOutprocessOrder.sendDate"                                   k-format="\'yyyy-MM-dd HH:mm\'"                                   style="width:200px;" />                        </div>                    </div>                    <div class="form-group col-md-12">                        <label class="col-sm-2">订单状态</label>                        <div class="col-sm-2" style="margin-left:-65px;">                            <input id="orderStatus" type="text" class="form-control" style="width:120px;">                            <button class="k-select btn btn-default" id="btnEditOrderType" style="padding:5px 9px;" ares-config-click="editDesignType(\'技加工状态\')">                                <span class="glyphicon glyphicon-cog"></span>                            </button>                        </div>                        <label class="col-sm-2" style="margin-left:60px;">收件时间:</label>                        <div class="col-sm-1" style="margin-left:-65px;">                            <input kendo-date-time-picker class="form-control"                                   k-ng-model="currentOutprocessOrder.backDate"                                   k-format="\'yyyy-MM-dd HH:mm\'"                                   style="width:200px;" />                        </div>                    </div>                    <div class="form-group col-md-12">                        <label class="col-sm-2">医生姓名：</label>                        <div class="col-sm-2" style="margin-left:-65px;">                            <input id="doctor" type="text" class="form-control" style="width:200px;">                        </div>                        <label class="col-sm-2" style="margin-left:60px;">患者收费:</label>                        <div class="col-sm-1" style="margin-left:-65px;">                            <input style="width:200px;" kendo-numeric-text-box k-min="0" k-max="99999999" k-ng-model="currentOutprocessOrder.customerPrice" />                        </div>                    </div>                    <div class="form-group col-md-12">                        <label class="col-sm-2">备注信息：</label>                        <div class="col-sm-2" style="margin-left:-65px;">                            <textarea id="orderNotes" class="form-control" ng-model="currentOutprocessOrder.notes" rows="1" style="width:175px;"></textarea>                        </div>                        <label class="col-sm-2" style="margin-left:60px;">加工费:</label>                        <div class="col-sm-1" style="margin-left:-65px;">                            <input style="width:200px;" kendo-numeric-text-box k-min="0" k-max="99999999" k-ng-model="currentOutprocessOrder.factoryPrice" />                        </div>                    </div>                    <div class="form-group col-md-12">                        <label class="col-sm-2 myLable ">试戴时间*:</label>                        <div class="col-sm-1" style="margin-left:-65px;">                            <input kendo-date-time-picker class="form-control"                                   k-ng-model="currentOutprocessOrder.tryDateTime"                                   k-format="\'yyyy-MM-dd HH:mm\'"                                   style="width:200px;" />                        </div>                    </div>                    <!--固定义齿订单详情部分-->                    <div ng-if="$parent.currentOutprocessOrder.orderType == \'固定义齿\'">                        <div class="form-group col-md-11" style="margin-bottom:0;">                            <label class="col-sm-2" style="margin-top:10px !important; ">加工产品</label>                            <div>                                <input id="dentalProductSearch" style="width:400px;margin-bottom:5px !important;" />                                <button class="btn btn-default" style="margin-bottom:5px !important;" ng-click="editOutProcessItem()">编辑产品</button>                            </div>                        </div>                        <div class="form-group col-md-11" style="margin-bottom:0;">                            <table class=" table table-striped table-bordered">                                <tbody>                                    <tr ng-repeat="item in currentOutprocessOrder.orderDetailList">                                        <td style="width:110px;padding-top:0;"><ares-tooth-selector selected-tooth-codes="item.fdiToothCodesArray" popover-placement="bottom"></ares-tooth-selector></td>                                        <td>                                            {{item.itemName}}                                        </td>                                        <td align="center" style="width:40px; align-content:center;vertical-align:central;">                                            <div style="display:inline-block;">                                                <button class="btn btn-xs btn-default"                                                        ng-click="deleteOrderDetail($index)">                                                    <span class="glyphicon glyphicon-trash" aria-hidden="true"></span>                                                </button>                                            </div>                                        </td>                                    </tr>                                </tbody>                            </table>                        </div>                        <div class="form-group col-md-11" style="margin-bottom:0; margin-top:0;">                            <label class="col-sm-2" style="margin-top:10px !important;">牙齿颜色</label>                            <div>                                <button class="btn btn-default" style="margin-bottom:5px !important;" ng-click="addColorDetail()">添加记录</button>                                <button class="btn btn-default" style="margin-bottom:5px !important;" ng-click="editDesignType(\'色号\')">编辑色号</button>                            </div>                        </div>                        <div class="form-group col-md-11" style="margin-bottom:0;">                            <table class=" table table-striped table-bordered">                                <tbody>                                    <tr ng-repeat="item in currentOutprocessOrder.colorDetailList" style="padding:0;">                                        <td style="width:80px;padding: 0;"><ares-tooth-selector selected-tooth-codes="item.fdiToothCodesArray" popover-placement="bottom"></ares-tooth-selector></td>                                        <td style="width:70px;padding: 0;">                                            颈:                                            <select style="width:80px;"                                                    kendo-drop-down-list                                                    k-data-text-field="\'itemName\'"                                                    k-data-value-field="\'itemName\'"                                                    k-data-source="colorCodeList"                                                    ng-model="item.colorCode1"></select>                                        </td>                                        <td style="width:70px;padding:0;">                                            中:                                            <select style="width:80px;"                                                    kendo-drop-down-list                                                    k-data-text-field="\'itemName\'"                                                    k-data-value-field="\'itemName\'"                                                    k-data-source="colorCodeList"                                                    ng-model="item.colorCode2"></select>                                        </td>                                        <td style="width:70px;padding:0;">                                            切:                                            <select style="width:80px;"                                                    kendo-drop-down-list                                                    k-data-text-field="\'itemName\'"                                                    k-data-value-field="\'itemName\'"                                                    k-data-source="colorCodeList"                                                    ng-model="item.colorCode3"></select>                                        </td>                                        <td style="width:190px;padding:0;">                                            <label class="checkbox-inline">                                                <input type="checkbox" ng-model="item.clearLayer"> 切端透明层                                            </label>                                            <label class="checkbox-inline">                                                <input type="checkbox" ng-model="item.enamel"> 釉质横纹                                            </label>                                            <label class="checkbox-inline">                                                <input type="checkbox" ng-model="item.fissure"> 窝沟点染                                            </label>                                        </td>                                        <td align="center" style="width:20px; align-content:center;vertical-align:central;padding:0;">                                            <div style="display:inline-block;padding:0;">                                                <button class="btn btn-xs btn-default"                                                        ng-click="deleteColorDetail($index)">                                                    <span class="glyphicon glyphicon-trash" aria-hidden="true"></span>                                                </button>                                            </div>                                        </td>                                    </tr>                                </tbody>                            </table>                        </div>                        <div class="form-group col-md-12">                            <label class="col-sm-2">桥体：</label>                            <div class="col-sm-2" style="margin-left:-65px;">                                <input ng-model="currentOutprocessOrder.bridge" type="text" class="form-control" style="width:175px;">                            </div>                        </div>                        <div class="form-group col-md-12">                            <label class="col-sm-2">脸型：</label>                            <div class="col-sm-2" style="margin-left:-65px;">                                <input ng-model="currentOutprocessOrder.faceType" type="text" class="form-control" style="width:175px;">                            </div>                            <label class="col-sm-2" style="margin-left:60px;">邻接:</label>                            <div class="col-sm-1" style="margin-left:-65px;">                                <input ng-model="currentOutprocessOrder.adjoin" type="text" class="form-control" style="width:175px;">                            </div>                        </div>                        <div class="form-group col-md-12">                            <label class="col-sm-2">咬合：</label>                            <div class="col-sm-2" style="margin-left:-65px;">                                <input ng-model="currentOutprocessOrder.occlusion" type="text" class="form-control" style="width:175px;">                            </div>                            <label class="col-sm-2" style="margin-left:60px;">金属颌面:</label>                            <div class="col-sm-1" style="margin-left:-65px;">                                <input ng-model="currentOutprocessOrder.maxillofacial" type="text" class="form-control" style="width:175px;">                            </div>                        </div>                        <div class="form-group col-md-12">                            <label class="col-sm-2">颈缘延伸：</label>                            <div class="col-sm-2" style="margin-left:-65px;">                                <input ng-model="currentOutprocessOrder.neckExtension" type="text" class="form-control" style="width:175px;">                            </div>                            <label class="col-sm-2" style="margin-left:60px;">间隙:</label>                            <div class="col-sm-1" style="margin-left:-65px;">                                <input ng-model="currentOutprocessOrder.clearance" type="text" class="form-control" style="width:175px;">                            </div>                        </div>                        <div class="form-group col-md-12" style="padding-left:30px;">                            <label class="checkbox-inline">                                <input type="checkbox" ng-model="currentOutprocessOrder.siliconeImpression"> 硅胶印模                            </label>                            <label class="checkbox-inline">                                <input type="checkbox" ng-model="currentOutprocessOrder.occlusal"> 咬合记录                            </label>                            <label class="checkbox-inline">                                <input type="checkbox" ng-model="currentOutprocessOrder.involution"> 无对合                            </label>                            <label class="checkbox-inline">                                <input type="checkbox" ng-model="currentOutprocessOrder.waxPattern"> 诊断蜡型                            </label>                            <label class="checkbox-inline">                                <input type="checkbox" ng-model="currentOutprocessOrder.pattern"> 参考模型                            </label>                            <label class="checkbox-inline">                                <input type="checkbox" ng-model="currentOutprocessOrder.tray"> 托盘                            </label>                        </div>                    </div>                    <!--活动义齿订单详情部分-->                    <div ng-if="$parent.currentOutprocessOrder.orderType == \'活动义齿\'">                        <div class="form-group col-md-11" style="margin-bottom:0;">                            <label class="col-sm-2" style="margin-top:10px !important; ">加工产品</label>                            <div>                                <input id="dentalProductSearch" style="width:400px;margin-bottom:5px !important;" />                                <button class="btn btn-default" style="margin-bottom:5px !important;" ng-click="editOutProcessItem()">编辑产品</button>                            </div>                        </div>                        <div class="form-group col-md-11" style="margin-bottom:0;">                            <table class=" table table-striped table-bordered">                                <tbody>                                    <tr ng-repeat="item in currentOutprocessOrder.orderDetailList">                                        <td style="width:110px;padding-top:0;"><ares-tooth-selector selected-tooth-codes="item.fdiToothCodesArray" popover-placement="bottom"></ares-tooth-selector></td>                                        <td>                                            {{item.itemName}}                                        </td>                                        <td align="center" style="width:40px; align-content:center;vertical-align:central;">                                            <div style="display:inline-block;">                                                <button class="btn btn-xs btn-default"                                                        ng-click="deleteOrderDetail($index)">                                                    <span class="glyphicon glyphicon-trash" aria-hidden="true"></span>                                                </button>                                            </div>                                        </td>                                    </tr>                                </tbody>                            </table>                        </div>                        <div class="form-group col-md-11" style="margin-bottom:0; margin-top:0;">                            <label class="col-sm-2" style="margin-top:10px !important;">设计详情</label>                            <div>                                <button class="btn btn-default" style="margin-bottom:5px !important;" ng-click="addDetail()">添加详情</button>                                <button class="btn btn-default" style="margin-bottom:5px !important;" ng-click="editDesignType(\'技加工邻面板类型\')">编辑邻面板类型</button>                                <button class="btn btn-default" style="margin-bottom:5px !important;" ng-click="editDesignType(\'技加工卡环类型\')">编辑卡环类型</button>                                <button class="btn btn-default" style="margin-bottom:5px !important;" ng-click="editDesignType(\'技加工合支托类型\')">编辑合支托类型</button>                                <button class="btn btn-default" style="margin-bottom:5px !important;" ng-click="editDesignType(\'技加工附着体类型\')">编辑附着体类型</button>                            </div>                        </div>                        <div class="form-group col-md-11" style="margin-bottom:0;">                            <table class=" table table-striped table-bordered">                                <tbody>                                    <tr ng-repeat="item in currentOutprocessOrder.designList" style="padding:0;">                                        <td style="width:80px;padding: 0;"><ares-tooth-selector selected-tooth-codes="item.fdiToothCodesArray" popover-placement="bottom"></ares-tooth-selector></td>                                        <td style="width:70px;padding: 0;">                                            邻面板:                                            <select style="width:80px;"                                                    kendo-drop-down-list                                                    k-data-text-field="\'itemName\'"                                                    k-data-value-field="\'itemName\'"                                                    k-data-source="adjacentPanelList"                                                    ng-model="item.adjacentPanel"></select>                                        </td>                                        <td style="width:70px;padding:0;">                                            卡环:                                            <select style="width:80px;"                                                    kendo-drop-down-list                                                    k-data-text-field="\'itemName\'"                                                    k-data-value-field="\'itemName\'"                                                    k-data-source="snapRingList"                                                    ng-model="item.snapRing"></select>                                        </td>                                        <td style="width:70px;padding:0;">                                            合支托:                                            <select style="width:80px;"                                                    kendo-drop-down-list                                                    k-data-text-field="\'itemName\'"                                                    k-data-value-field="\'itemName\'"                                                    k-data-source="occlusalRestList"                                                    ng-model="item.occlusalRest"></select>                                        </td>                                        <td style="width:70px;padding:0;">                                            附着体:                                            <select style="width:80px;"                                                    kendo-drop-down-list                                                    k-data-text-field="\'itemName\'"                                                    k-data-value-field="\'itemName\'"                                                    k-data-source="attachmentList"                                                    ng-model="item.attachment"></select>                                        </td>                                        <td align="center" style="width:20px; align-content:center;vertical-align:central;padding:0;">                                            <div style="display:inline-block;padding:0;">                                                <button class="btn btn-xs btn-default"                                                        ng-click="deleteDetail($index)">                                                    <span class="glyphicon glyphicon-trash" aria-hidden="true"></span>                                                </button>                                            </div>                                        </td>                                    </tr>                                </tbody>                            </table>                        </div>                        <div class="form-group col-md-12" style="padding-left:30px;">                            <label class="checkbox-inline">                                <input type="checkbox" ng-model="currentOutprocessOrder.occlusal"> 咬合记录                            </label>                            <label class="checkbox-inline">                                <input type="checkbox" ng-model="currentOutprocessOrder.involution"> 无对合                            </label>                            <label class="checkbox-inline">                                <input type="checkbox" ng-model="currentOutprocessOrder.jawFrame"> 颌架                            </label>                            <label class="checkbox-inline">                                <input type="checkbox" ng-model="currentOutprocessOrder.pattern"> 参考模型                            </label>                            <label class="checkbox-inline">                                <input type="checkbox" ng-model="currentOutprocessOrder.tray"> 托盘                            </label>                        </div>                    </div>                </div>                <div class="form-group col-md-12">                    <label class="col-sm-2 myLable">订单图片:</label>                    <style scoped>                        .image-delete-box {                            position: absolute;                            background-color: white;                            border: 1px solid #cccccc;                            color: #333333;                            bottom: 3px;                            right: 3px;                            width: 22px;                            height: 24px;                            z-index: 100;                            line-height: 24px;                            border-radius: 3px;                        }                            .image-delete-box:hover {                                background-color: #e6e6e6;                            }                    </style>                    <div class="col-sm-10" style="margin-left:-75px;">                        <div ng-repeat="picture in pictureList" class="form-group col-sm-5" style="height: 200px; width: 200px; MARGIN-RIGHT: auto; text-align: center; MARGIN-LEFT: 25px; line-height: 200px; vertical-align: middle; margin-bottom: 20px; border: 1px solid lightgray; " ng-mouseenter="isMouseHover=true" ng-mouseleave="isMouseHover=false">                            <a href="" target="_blank" style="max-width:100%;max-height:100%; vertical-align: middle;">                                <img ng-src="{{picture.filePath}}" style="max-height: 200px; max-width: 100%; margin: 0 auto; vertical-align: middle; position: static; top: -50%; left: -50%;" />                            </a>                            <div class="image-delete-box" ng-click="deletePicture(picture)"                                 ng-show="isMouseHover">                                <span class="glyphicon glyphicon-trash" style="font-size:12px"></span>                            </div>                        </div>                    </div>                </div>            </form>        </div>        <div class="form-group col-md-12" style="padding-left:30px;">            <button type="button" class="btn btn-success" ng-disabled="!isAllowSaveOrder()" ng-click="saveOutprocessOrder()">保存</button>            <button type="button" class="btn btn-success" ng-disabled="!isAllowPrint()" print-div="{{printTemplateId}}">打印</button>            <button type="button" class="btn btn-success" ng-disabled="!isAllowSendOrder()" ng-click="sendOutProcessOrder()">保存并发送订单</button>            <button type="button" class="btn btn-success" ng-disabled="!isAllowSendPicture()" ng-click="sendOrderPictures()">发送图片</button>            <button type="button" class="btn btn-success" ng-disabled="!isAllowGetOrderStatus()" ng-click="getOutProcessStatus()">订单状态</button>            <div class="col-sm-2 image-item-border" style="margin-left:-15px;" ng-include src="buildPictureTemplateUrl()"></div>            <!--<button type="button" class="btn btn-success" print-div="#singleEMRPrintDvi">打印</button>-->        </div>        <div>            <div id="gdyc" style="display: none;">                <style scoped>                    .titleFont {                        font-size: 10px;                        font-family: SimHei;                    }                    .boldFont {                        font-weight: bolder;                        font-family: SimHei;                    }                </style>                <div style="font-size:smaller;padding:0 130px 0 10px; width:100%;">                    <div style="text-align: center; font-size: 20px;" class="boldFont">{{office.name}}义齿加工单</div>                    <div style="border-bottom:3px solid black;">                        <table style="width:100%;">                            <tr>                                <td class="titleFont" width="25%"><span class="boldFont">订单编号： </span>{{currentOutprocessOrder.orderNo}}</td>                                <td class="titleFont" width="25%"><span class="boldFont">医生姓名：</span>{{currentOutprocessOrder.doctorName}}</td>                                <td class="titleFont" width="25%"><span class="boldFont">医生电话： </span>{{currentOutprocessOrder.doctorPhoneNumber}}</td>                                <td class="titleFont" width="25%"><span class="boldFont">加工厂名称：</span>{{currentOutprocessOrder.orderNo}}</td>                            </tr>                            <tr>                                <td class="titleFont" width="25%"><span class="boldFont">业务员姓名： </span>{{currentOutprocessOrder.pickerName}}</td>                                <td class="titleFont" width="25%"><span class="boldFont">业务员电话： </span>{{currentOutprocessOrder.pickerPhone}}</td>                                <td class="titleFont" width="25%"><span class="boldFont">取件时间：</span>{{currentOutprocessOrder.sendDate|toLongDateString}}</td>                                <td class="titleFont" width="25%"><span class="boldFont">试戴时间： </span>{{currentOutprocessOrder.tryDateTime|toLongDateString}}</td>                            </tr>                            <tr>                                <td class="titleFont" width="25%"><span class="boldFont">完成时间： </span>{{currentOutprocessOrder.backDate|toLongDateString}}</td>                                <td class="titleFont" width="25%"><span class="boldFont">患者姓名：</span>{{patient.name}}</td>                                <td class="titleFont" width="25%"><span class="boldFont">患者性别：</span>{{patient.sex|toSexString}}</td>                                <td class="titleFont" width="25%"><span class="boldFont">患者年龄： </span>{{patient.birth|toLongDateString}}</td>                            </tr>                        </table>                    </div>                    <div style="border-bottom:1px solid black;">                        <table style="width: 100%;" class="titleFont">                            <thead>                                <tr>                                    <th style="text-align:left;font-weight:bolder;" class="titleFont">牙位</th>                                    <th style="text-align:left;font-weight:bolder;" class="titleFont">产品名称</th>                                    <th style="text-align:left;font-weight:bolder;" class="titleFont">产品材料</th>                                    <th style="text-align:left;font-weight:bolder;" class="titleFont">修复形式</th>                                    <th style="text-align:left;font-weight:bolder;" class="titleFont">加工方式</th>                                </tr>                            </thead>                            <tbody>                                <tr ng-repeat="item in currentOutprocessOrder.orderDetailList">                                    <td width="10%" height="50px;">                                        <ares-tooth-selector selected-tooth-codes="item.fdiToothCodesArray"></ares-tooth-selector>                                    </td>                                    <td width="20%" class="titleFont">{{item.itemName}}</td>                                    <td width="20%" class="titleFont">{{item.material}}</td>                                    <td width="20%" class="titleFont">{{item.repairType}}</td>                                    <td width="20%" class="titleFont">{{item.processMethod}}</td>                                </tr>                            </tbody>                        </table>                    </div>                    <div>                        <table style="width: 100%;" class="titleFont">                            <thead>                                <tr>                                    <th style="text-align:left;font-weight:bolder;" class="titleFont">牙位</th>                                    <th style="text-align:left;font-weight:bolder;" class="titleFont">颈</th>                                    <th style="text-align:left;font-weight:bolder;" class="titleFont">中</th>                                    <th style="text-align:left;font-weight:bolder;" class="titleFont">切</th>                                    <th style="text-align:left;font-weight:bolder;" class="titleFont">备注</th>                                </tr>                            </thead>                            <tbody>                                <tr ng-repeat="item in currentOutprocessOrder.colorDetailList">                                    <td width="10%" height="40px;">                                        <ares-tooth-selector selected-tooth-codes="item.fdiToothCodesArray"></ares-tooth-selector>                                    </td>                                    <td width="10%" class="titleFont">{{item.colorCode1}}</td>                                    <td width="10%" class="titleFont">{{item.colorCode2}}</td>                                    <td width="10%" class="titleFont">{{item.colorCode3}}</td>                                    <td width="60%" class="titleFont">                                        <label class="checkbox-inline">                                            <span class="titleFont" ng-if="item.clearLayer">切端透明层</span>                                        </label>                                        <label class="checkbox-inline">                                            <span class="titleFont" ng-if="item.enamel">釉质横纹</span>                                        </label>                                        <label class="checkbox-inline">                                            <span class="titleFont" ng-if="item.fissure">窝沟点染</span>                                        </label>                                    </td>                                </tr>                            </tbody>                        </table>                    </div>                    <div>                        <table style="width:100%;" class="titleFont">                            <tr>                                <td width="25%"><span class="boldFont">脸型： </span>{{currentOutprocessOrder.faceType}}</td>                                <td width="25%"><span class="boldFont">邻接：</span>{{currentOutprocessOrder.adjoin}}</td>                                <td width="25%"><span class="boldFont">咬合： </span>{{currentOutprocessOrder.occlusion}}</td>                                <td width="25%"><span class="boldFont">金属颌面： </span>{{currentOutprocessOrder.maxillofacial}}</td>                            </tr>                            <tr>                                <td width="25%"><span class="boldFont">间隙： </span>{{currentOutprocessOrder.clearance}}</td>                                <td width="25%"><span class="boldFont">桥体： </span>{{currentOutprocessOrder.bridge}}</td>                                <td width="25%"><span class="boldFont">颈缘延伸： </span>{{currentOutprocessOrder.neckExtension}}</td>                                <td width="25%"><span class="boldFont">备注： </span>{{currentOutprocessOrder.neckExtension}}</td>                            </tr>                            <tr>                                <td>                                    <label class="checkbox-inline">                                        <span class="titleFont" ng-if="currentOutprocessOrder.siliconeImpression">硅胶印模</span>                                    </label>                                    <label class="checkbox-inline">                                        <span class="titleFont" ng-if="currentOutprocessOrder.occlusal">咬合记录</span>                                    </label>                                    <label class="checkbox-inline">                                        <span class="titleFont" ng-if="currentOutprocessOrder.involution">无对合</span>                                    </label>                                    <label class="checkbox-inline">                                        <span class="titleFont" ng-if="currentOutprocessOrder.waxPattern"> 诊断蜡型</span>                                    </label>                                    <label class="checkbox-inline">                                        <span class="titleFont" ng-if="currentOutprocessOrder.pattern"> 参考模型</span>                                    </label>                                    <label class="checkbox-inline">                                        <span class="titleFont" ng-if="currentOutprocessOrder.tray"> 托盘</span>                                    </label>                                </td>                            </tr>                        </table>                    </div>                </div>            </div>            <div id="hdyc" style="display: none;">                <style scoped>                    .titleFont {                        font-size: 10px;                        font-family: SimHei;                    }                    .boldFont {                        font-weight: bolder;                        font-family: SimHei;                    }                </style>                <div style="font-size:smaller;padding:0 130px 0 10px; width:100%;">                    <div style="text-align: center; font-size: 20px;" class="boldFont">{{office.name}}义齿加工单</div>                    <div style="border-bottom:3px solid black;">                        <table style="width:100%;">                            <tr>                                <td class="titleFont" width="25%"><span class="boldFont">订单编号： </span>{{currentOutprocessOrder.orderNo}}</td>                                <td class="titleFont" width="25%"><span class="boldFont">医生姓名：</span>{{currentOutprocessOrder.doctorName}}</td>                                <td class="titleFont" width="25%"><span class="boldFont">医生电话： </span>{{currentOutprocessOrder.doctorPhoneNumber}}</td>                                <td class="titleFont" width="25%"><span class="boldFont">加工厂名称：</span>{{currentOutprocessOrder.orderNo}}</td>                            </tr>                            <tr>                                <td class="titleFont" width="25%"><span class="boldFont">业务员姓名： </span>{{currentOutprocessOrder.pickerName}}</td>                                <td class="titleFont" width="25%"><span class="boldFont">业务员电话： </span>{{currentOutprocessOrder.pickerPhone}}</td>                                <td class="titleFont" width="25%"><span class="boldFont">取件时间：</span>{{currentOutprocessOrder.sendDate|toLongDateString}}</td>                                <td class="titleFont" width="25%"><span class="boldFont">试戴时间： </span>{{currentOutprocessOrder.tryDateTime|toLongDateString}}</td>                            </tr>                            <tr>                                <td class="titleFont" width="25%"><span class="boldFont">完成时间： </span>{{currentOutprocessOrder.backDate|toLongDateString}}</td>                                <td class="titleFont" width="25%"><span class="boldFont">患者姓名：</span>{{patient.name}}</td>                                <td class="titleFont" width="25%"><span class="boldFont">患者性别：</span>{{patient.sex|toSexString}}</td>                                <td class="titleFont" width="25%"><span class="boldFont">患者年龄： </span>{{patient.birth|toLongDateString}}</td>                            </tr>                        </table>                    </div>                    <div style="border-bottom:1px solid black;padding-bottom:10px;">                        <table style="width: 100%;" class="titleFont">                            <thead>                                <tr>                                    <th style="text-align:left;font-weight:bolder;" class="titleFont">牙位</th>                                    <th style="text-align:left;font-weight:bolder;" class="titleFont">产品名称</th>                                    <th style="text-align:left;font-weight:bolder;" class="titleFont">支架材料</th>                                    <th style="text-align:left;font-weight:bolder;" class="titleFont">基托材料</th>                                </tr>                            </thead>                            <tbody>                                <tr ng-repeat="item in currentOutprocessOrder.orderDetailList">                                    <td width="20%" height="40px;">                                        <ares-tooth-selector selected-tooth-codes="item.fdiToothCodesArray"></ares-tooth-selector>                                    </td>                                    <td width="30%" class="titleFont">{{item.itemName}}</td>                                    <td width="25%" class="titleFont">{{item.stentMaterial}}</td>                                    <td width="25%" class="titleFont">{{item.baseMaterial}}</td>                                </tr>                            </tbody>                        </table>                    </div>                    <div style="border-bottom:1px solid black;padding-bottom:10px;">                        <table style="width: 60%;" class="titleFont">                            <thead>                                <tr>                                    <th style="text-align:left;font-weight:bolder;" class="titleFont">牙位</th>                                    <th style="text-align:left;font-weight:bolder;" class="titleFont">邻面板</th>                                    <th style="text-align:left;font-weight:bolder;" class="titleFont">卡环</th>                                    <th style="text-align:left;font-weight:bolder;" class="titleFont">合支托</th>                                    <th style="text-align:left;font-weight:bolder;" class="titleFont">附着体</th>                                </tr>                            </thead>                            <tbody>                                <tr ng-repeat="item in currentOutprocessOrder.designList">                                    <td width="20%" height="40px;">                                        <ares-tooth-selector selected-tooth-codes="item.fdiToothCodesArray"></ares-tooth-selector>                                    </td>                                    <td width="10%" class="titleFont">{{item.adjacentPanel}}</td>                                    <td width="10%" class="titleFont">{{item.snapRing}}</td>                                    <td width="10%" class="titleFont">{{item.occlusalRest}}</td>                                    <td width="10%" class="titleFont">{{item.attachment}}</td>                                </tr>                            </tbody>                        </table>                    </div>                    <div>                        <table style="width:100%;" class="titleFont">                            <tr>                                <td>                                    <label class="checkbox-inline">                                        <span class="titleFont" ng-if="currentOutprocessOrder.occlusal">咬合记录</span>                                    </label>                                    <label class="checkbox-inline">                                        <span class="titleFont" ng-if="currentOutprocessOrder.involution">无对合</span>                                    </label>                                    <label class="checkbox-inline">                                        <span class="titleFont" ng-if="currentOutprocessOrder.jawFrame"> 颌架</span>                                    </label>                                    <label class="checkbox-inline">                                        <span class="titleFont" ng-if="currentOutprocessOrder.pattern"> 参考模型</span>                                    </label>                                    <label class="checkbox-inline">                                        <span class="titleFont" ng-if="currentOutprocessOrder.tray"> 托盘</span>                                    </label>                                </td>                                <td>备注:{{currentOutprocessOrder.notes}}</td>                            </tr>                        </table>                    </div>                </div>            </div>        </div>    </div></div><notification-upload-success></notification-upload-success>');templateCache.put('/app/patient/views/outprocess/patient-outprocess-edit-view.html','<div class="ares-main-content" ares-clean-kendo ares-patient-container>    <!--<h1 class="ares-page-header">编辑随访</h1>-->    <style scoped>    </style>    <div class="row" style="margin-right:0px">        <div class="col-md-12">            <form name="outprocessForm" class="outProcessControl" novalidate>                <div class="form-group col-md-12">                    <div class="form-group col-md-8">                        <label class="col-sm-2">加工详情*:</label>                        <div class="pull-right">                            <!--<button style="margin-bottom:5px !important;" ng-click="editOutProcessItem()">编辑技加工项目</button>                            <button style="margin-bottom:5px !important;" ng-click="editColorCode()">编辑色号</button>-->                            <button style="margin-bottom:5px !important;" ng-click="addOrderDetail()"><span class="glyphicon glyphicon-plus" aria-hidden="true"></span></button>                        </div>                    </div>                    <div class="form-group col-md-8">                        <table class=" table table-striped table-bordered">                            <tbody>                                <tr ng-repeat="item in currentOutprocessOrder.orderDetailList">                                    <td style="width:110px;"><ares-tooth-selector selected-tooth-codes="item.fdiToothCodesArray" popover-placement="right"></ares-tooth-selector></td>                                    <td>                                        <div class="col-sm-2 input-container">                                            <input class="not-ignore form-control" id="processItem{{$index}}" ng-model="item.itemName" style="width:420px;max-width:460px;" />                                        </div>                                    </td>                                    <td>                                        <div class="col-sm-2 input-container">                                            <input class="not-ignore form-control" id="colorCode{{$index}}" ng-model="item.colorCode" style="width: 100px; max-width: 100px; " />                                        </div>                                    </td>                                    <td>                                        <div class="col-sm-2 input-container">                                            <input id="count{{$index}}" style="width:100px;" kendo-numeric-text-box                                                   k-min="0" k-max="99999999" k-step="1" k-options="{format: \'#\', decimals:0}"                                                   k-ng-model="item.count" />                                        </div>                                    </td>                                    <td align="center" style="width:40px; align-content:center;vertical-align:central;">                                        <div style="display:inline-block;">                                            <button class="btn btn-xs btn-default"                                                    ng-click="deleteOrderDetail($index)">                                                <span class="glyphicon glyphicon-trash" aria-hidden="true"></span>                                            </button>                                        </div>                                    </td>                                </tr>                            </tbody>                        </table>                    </div>                </div>                <div class="form-group col-md-12">                    <label class="col-sm-2 myLable myRequired">就诊时间*:</label>                    <div class="col-sm-3" style="margin-left:-65px;">                        <input id="appoint" type="text" class="form-control" style="width:200px;">                    </div>                    <label class="col-sm-2" style="margin-left:60px;">订单编号：</label>                    <div class="col-sm-3" style="margin-left:-65px;">                        <input type="text" style="width:175px;" class="form-control" ng-model="currentOutprocessOrder.orderNo">                    </div>                </div>                <div class="form-group col-md-12">                    <label class="col-sm-2">加工单位：</label>                    <div class="col-sm-3" style="margin-left:-65px;">                        <input id="supplyers" type="text" class="form-control" style="width:120px;">                        <button class="k-select btn btn-default" id="btnEditSupplyers" style="padding:5px 9px;" ares-config-click="editSupplyers()">                            <span class="glyphicon glyphicon-cog"></span>                        </button>                    </div>                    <label class="col-sm-2" style="margin-left:60px;">取件人：</label>                    <div class="col-sm-3" style="margin-left:-65px;">                        <input id="picker" type="text" class="form-control" style="width:120px;">                        <button class="k-select btn btn-default" id="btnEditPickers" style="padding:5px 9px;" ares-config-click="editPickers()">                            <span class="glyphicon glyphicon-cog"></span>                        </button>                    </div>                </div>                <div class="form-group col-md-12">                    <label class="col-sm-2">联系电话：</label>                    <div class="col-sm-3" style="margin-left:-65px;">                        <input ng-model="currentOutprocessOrder.pickerPhone" type="text" class="form-control" style="width:175px;">                    </div>                    <label class="col-sm-2" style="margin-left:60px;">送件时间:</label>                    <div class="col-sm-3" style="margin-left:-65px;">                        <input kendo-date-time-picker class="form-control"                               k-ng-model="currentOutprocessOrder.sendDate"                               k-format="\'yyyy-MM-dd HH:mm\'"                               style="width:200px;" />                    </div>                </div>                <div class="form-group col-md-12">                    <label class="col-sm-2">订单状态</label>                    <div class="col-sm-3" style="margin-left:-65px;">                        <input id="orderStatus" type="text" class="form-control" style="width:120px;">                        <button class="k-select btn btn-default" id="btnEditOrderType" style="padding:5px 9px;" ares-config-click="editOrderType()">                            <span class="glyphicon glyphicon-cog"></span>                        </button>                    </div>                    <label class="col-sm-2" style="margin-left:60px;">收件时间:</label>                    <div class="col-sm-3" style="margin-left:-65px;">                        <input kendo-date-time-picker class="form-control"                               k-ng-model="currentOutprocessOrder.backDate"                               k-format="\'yyyy-MM-dd HH:mm\'"                               style="width:200px;" />                    </div>                </div>                <div class="form-group col-md-12">                    <label class="col-sm-2">医生姓名：</label>                    <div class="col-sm-3" style="margin-left:-65px;">                        <input id="doctor" type="text" class="form-control" style="width:200px;">                    </div>                    <label class="col-sm-2" style="margin-left:60px;" ng-show="allowed">患者收费:</label>                    <div class="col-sm-3" style="margin-left:-65px;" ng-show="allowed">                        <input style="width:200px;" kendo-numeric-text-box k-min="0" k-max="99999999" k-ng-model="currentOutprocessOrder.customerPrice" />                    </div>                </div>                <div class="form-group col-md-12">                    <label class="col-sm-2">备注信息：</label>                    <div class="col-sm-3" style="margin-left:-65px;">                        <textarea id="orderNotes" class="form-control" ng-model="currentOutprocessOrder.notes" rows="1" style="width:175px;"></textarea>                    </div>                    <label class="col-sm-2" style="margin-left:60px;" ng-show="allowed">加工费:</label>                    <div class="col-sm-3" style="margin-left:-65px;" ng-show="allowed">                        <input style="width:200px;" kendo-numeric-text-box k-min="0" k-max="99999999" k-ng-model="currentOutprocessOrder.factoryPrice" />                    </div>                </div>            </form>        </div>        <div class="form-group col-md-12" style="padding-left:30px;">            <button type="button" class="btn btn-success" ares-click="saveOutprocessOrder()">保存</button>            <button type="button" class="btn btn-success" ng-click="cancelOutProcessOrder()">取消</button>            <!--<button type="button" class="btn btn-success" print-div="#singleEMRPrintDvi">打印</button>-->        </div>    </div></div>');templateCache.put('/app/patient/views/outprocess/patient-outprocess-picture-upload.html','<input id="pictureUploadPanel" style="display:none" type="file" patient-outprocess-picture-upload       accept="image/*"       add="addUpload(e,data)"       send="beforeUpload(e,data)"       start="uploadStart(e,data)"       stop="uploadStop(e,data)"       uploadprogress="uploadProgressed(e,data)"       done="uploadFinished(e,data)"       fail="uploadFailed(e,data)" /><button type="button" id="uploadPicture" class="btn btn-default">上传图片...</button>');templateCache.put('/app/patient/views/outprocess/patient-outprocess-status-dialog.html','<div ares-modal-dragable id="outProcessOrderStatusDialog" ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">订单状态</h4>    </div>    <div class="modal-body ares-dialog-body">       <div id="statusGrid">       </div>    </div>    <div class="modal-footer ares-dialog-footer">        <button type="button" class="btn btn-default" ng-click="cancel()">关闭</button>    </div></div>');templateCache.put('/app/patient/views/outprocess/patient-outprocess-table-view.html','<div class="ares-main-content" ares-clean-kendo>    <style scoped>        .k-grid td {            padding: 0;        }        .k-grid .btn {            padding: 1px 4px 1px 6px;        }    </style>    <div id="outprocessList">    </div>    <patient-outprocess-print-template></patient-outprocess-print-template>    <notification-upload-success></notification-upload-success></div>');templateCache.put('/app/patient/views/outprocess/patient-outprocess-view.html','<div>    <div class="form-group" style="padding-left:10px; margin-top:10px">        <button type="button" class="btn btn-default"                ares-authorize="patientOutProcess.history"                ng-click="switchState(\'patientOutProcess.historyRecords\')">            <span class="glyphicon glyphicon-dashboard" aria-hidden="true"></span>历史记录        </button>        <button type="button" class="btn btn-default"                ares-authorize="patientOutProcess.create"                sensors-enabled="true" sensors-event-name="PatientOutProcess" sensors-event-type="新建记录"                ng-click="createNewOrder()" ares-not-archive>            <span class="glyphicon glyphicon-user" aria-hidden="true"></span> 新建记录        </button>    </div>    <div ui-view></div></div>');templateCache.put('/app/patient/views/outprocess/outprocess-print/patient-outprocess-print-template.html','<div style="display: none;" class="outprocess-print-container">    <style scoped>        .outprocess-print-container table td {            font-size: 10px;            font-family: 宋体;        }        .outprocess-print-container .span-class {            margin-left: 2px;        }        .outprocess-print-container .print-title {            font-size: 14px;            font-weight: 900;        }    </style>    <div id="singleOutProcessPrintDiv" name="singleOutProcessPrintDiv" style="width: 100%">        <div style="width:96%;margin-bottom:5px;border-bottom:1px solid black;">            <table style="width:100%;margin:0px auto;">                <tr><td colspan="5" style="text-align:center"> <h1 style="text-align:center;font-weight:bolder;padding:0;font-size:20px;">{{currentOutprocessOrder.officeName}}技加工打印单</h1> </td></tr>                <tr>                    <td style="font-size: 10px;width:25%;margin-left: 2px;">                        订单编号:<span class="span-class">{{currentOutprocessOrder.orderNo}}</span>                    </td>                    <td style="font-size: 10px;width:25%">病历号:<span class="span-class">{{patient.privateId}}</span></td>                    <td style="font-size: 10px;width:20%">姓名:<span class="span-class">{{patient.name}}</span></td>                    <td style="font-size: 10px;width:10%">性别:<span class="span-class">{{patient.sex|toSexString}}</span></td>                    <td style="font-size: 10px;width:10%">年龄:<span class="span-class">{{patient.birth| toAgeYearString}}</span>                </tr>            </table>        </div>        <div style="width:96%;margin-bottom: 2px;border-bottom:1px solid black;">            <table style="width:100%;margin:0px auto;">                <tr ng-repeat="detail in currentOutprocessOrder.orderDetailList">                    <td>                        <table style="margin-right: 10px;font-size: 10px; font-family: 宋体;">                            <tbody>                                <tr>                                    <td style="width:130px;padding-top:10px;padding-bottom:30px;padding-right: 10px;">                                        <ares-tooth-selector selected-tooth-codes="detail.fdiToothCodesArray"></ares-tooth-selector>                                    </td>                                </tr>                            </tbody>                        </table>                    </td>                    <td style="font-size: 10px;padding:10px;width:50%;">{{detail.itemName}}</td>                    <td style="font-size: 10px;padding:10px;width: auto;">{{detail.colorCode}}</td>                </tr>            </table>        </div>        <div style="width:96%;margin-top:5px;margin-bottom:5px;">            <table style="width:100%;margin:0px auto">                <tr>                    <td style="font-size: 10px;width:30%;">加工单位:{{currentOutprocessOrder.supplyName}}</td>                    <td style="font-size: 10px;width:30%;">取件人:{{currentOutprocessOrder.pickerName}}</td>                    <td style="font-size: 10px;">联系电话:{{currentOutprocessOrder.pickerPhone}}</td>                </tr>                <tr>                    <td style="font-size: 10px;width:30%;">医生:{{currentOutprocessOrder.doctorName}}</td>                    <td style="font-size: 10px;width:30%;">送件时间:{{currentOutprocessOrder.sendDate|toLongDateMMString}}</td>                    <td style="font-size: 10px;">取件时间:{{currentOutprocessOrder.backDate|toLongDateMMString}}</td>                </tr>                <tr>                    <td style="font-size: 10px" colspan="4">备注:{{currentOutprocessOrder.notes}}</td>                </tr>            </table>        </div>    </div></div>');templateCache.put('/app/patient/views/patient-list/all-patient-list-view.html','<div class="ares-main-content" ares-clean-kendo>    <div style="margin-top:10px;">        <table>            <tr>                <td ares-authorize="patientMgmt.diagnosis">                    <label class="checkbox inline" style="font-weight:normal;margin-left:20px;display:inline;">                        <input type="checkbox" ng-model="isSearchByDoctor" style="margin-left:-15px !important;">经诊患者                    </label>                </td>                <td style="padding-left:10px;" ares-authorize="patientMgmt.globalSearch">                    <input class="form-control" style="width:200px" ng-model="searchString" placeholder="姓名/拼音/手机/病历号" />                </td>            </tr>        </table>    </div>    <div style="margin-top:10px;">        <div id="patientList"></div>        <table style="width:100%">            <tr>                <td>                    <div style="margin-top: -15px" ng-show="searchResult.pageCount > 1">                        <div pagination total-items="searchResult.totalCount" items-per-page="searchResult.pageSize"                             ng-model="pageIndex" ng-change="onPageChanged(pageIndex)"                             max-size="maxPageCount" first-text="第一页" previous-text="前一页" next-text="后一页" last-text="最后一页" rotate="true"                             class="pagination" boundary-links="true"></div>                    </div>                </td>                <td style="width:10%;text-align:right;" valign="top"><div style="margin-top:10px" ng-show="searchResult.totalCount > 0">总记录数：{{searchResult.totalCount}}</div></td>            </tr>        </table>    </div></div>');templateCache.put('/app/patient/views/patient-list/archived-patient-list-view.html','<div class="ares-main-content" ares-clean-kendo>    <div style="margin-top:10px;">        <table>            <tr>                <td style="padding-left:10px;">                    <input class="form-control" style="width:200px" ng-model="searchString" placeholder="姓名/拼音/手机/病历号" />                </td>            </tr>        </table>    </div>    <div style="margin-top:10px;">        <h4 ng-if="searchResult&&searchResult.items.length==0" style="margin-left:10px;">没有找到归档患者</h4>        <div id="patientList" ng-show="searchResult&&searchResult.items.length>0"></div>        <div ng-show="searchResult.pageCount > 1" style="margin-top: -15px">            <div pagination total-items="searchResult.totalCount" items-per-page="searchResult.pageSize"                 ng-model="pageIndex" ng-change="onPageChanged(pageIndex)"                 max-size="maxPageCount" first-text="第一页" previous-text="前一页" next-text="后一页" last-text="最后一页" rotate="true"                 class="pagination" boundary-links="true"></div>        </div>    </div></div>');templateCache.put('/app/patient/views/patient-list/duplicated-patient-list-view.html','<div class="ares-main-content" ares-clean-kendo>    <div style="margin-top:10px;">        <table>            <tr>                <td style="padding-left: 10px; padding-right: 10px;">                    <label class="checkbox inline" style="font-size:16px;font-weight:normal;margin-left:20px; display: inline-block">                        <input type="checkbox" ng-model="criteria.byName" style="margin-left:-15px !important;">患者姓名                    </label>                    <input class="form-control" ng-disabled="!criteria.byName" style="width:100px; display: inline-block" ng-model="criteria.name" placeholder="姓名" />                </td>                <td style="padding-left: 10px; padding-right: 10px;">                    <label class="checkbox inline" style="font-size:16px;font-weight:normal;margin-left:20px; display: inline-block">                        <input type="checkbox" ng-model="criteria.byMobile" style="margin-left:-15px !important;">手机号码                    </label>                    <input class="form-control" ng-disabled="!criteria.byMobile" style="width:100px; display: inline-block" ng-model="criteria.mobile" placeholder="手机号码" />                </td>                <td>                    <button type="button" class="btn btn-default" ares-click="refreshPatientGrid()" style="margin-left:20px;"                            ng-disabled="!criteria.byName && !criteria.byMobile && !isSearching">                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查重                    </button>                </td>            </tr>        </table>    </div>    <div style="margin-top:5px;">        <h4 ng-if="!searchResult" style="margin-left:10px;">请先选择查重条件</h4>        <div id="patientList" ng-show="searchResult&&searchResult.items.length>0"></div>    </div></div>');templateCache.put('/app/patient/views/patient-list/patient-list-home-view.html','<ares-tab states="states" root-state="patientCenter.patientList"></ares-tab>');templateCache.put('/app/patient/views/patient-list/search-patient-view.html','<div class="ares-main-content" ares-clean-kendo>    <div style="margin-top:10px;">        <table>            <tr>                <td>                    <button type="button" class="btn btn-default" ng-click="openSearchConfigDialog()" style="margin-left:20px;">                        <span class="glyphicon glyphicon-plus"></span> 创建新筛选                    </button>                </td>                <td>                    <input id="searchDropDown" type="text" class="form-control" style="width:240px;">                </td>                <td style="padding-left:10px;">                    <input class="form-control" style="width:200px" ng-model="searchText" placeholder="姓名/拼音/手机/病历号" />                </td>                <td>                                       <button type="button" class="btn btn-default" ng-click="search()" style="margin-left:20px;">                        <span class="glyphicon glyphicon-search" aria-hidden="true"></span> 查询                    </button>                </td>            </tr>        </table>    </div>    <div style="margin-top:10px;">        <div id="patientList"></div>        <table style="width:100%" >            <tr>                <td>                    <div style="margin-top: -15px" ng-show="searchData.pageCount > 1">                        <div pagination total-items="searchData.totalCount" items-per-page="searchData.pageSize"                             ng-model="pageIndex" ng-change="onPageChanged(pageIndex)"                             max-size="10" first-text="第一页" previous-text="前一页" next-text="后一页" last-text="最后一页" rotate="true"                             class="pagination" boundary-links="true"></div>                    </div>                </td>                <td style="width:10%;text-align:right;" valign="top"><div style="margin-top:10px" ng-show="searchData.totalCount > 0">总记录数：{{searchData.totalCount}}</div></td>            </tr>        </table>    </div></div>');templateCache.put('/app/patient/views/patient-photo/patient-photo-view.html','<div id="patient-photo">    <style>        #patient-photo .align-center {            text-align: center;        }        #patient-photo .picture-area {            height: 350px;            text-align: center;            margin-top: 20px;            border: 1px solid lightgray;        }        #patient-photo .action-btn {            background-image: url(\'/app-resource/images/icon-patient-photo.png\');            background-size: 48px 80px;            width: 16px;            height: 16px;            background-position-x: 0;        }            #patient-photo .action-btn.take {                background-position-y: 0;            }            #patient-photo .action-btn.upload {                background-position-y: -16px;            }            #patient-photo .action-btn.save {                background-position-y: -32px;            }            #patient-photo .action-btn.retake {                background-position-y: -48px;            }            #patient-photo .action-btn.delete {                background-position-y: -64px;            }        #patient-photo .button-action {            border: 1px solid lightgray;            border-radius: 50%;            background-color:white;            width:45px;            height:45px;            line-height:45px;            text-align:center;            vertical-align:middle;        }            #patient-photo .button-action:hover {                border: 1px solid #319DB5;            }                #patient-photo .button-action:hover > .action-btn {                    background-position-x: -16px;                }        #patient-photo .picture-action {            width: 20%;            height: 100%;            display: inline-block;            vertical-align: middle;        }        #patient-photo .picture-area.with-hover:hover {            border-color: #00a8cb;            cursor: pointer;        }            #patient-photo .picture-area.with-hover:hover .area-text {                color: #00a8cb;                cursor: pointer;            }            #patient-photo .picture-area.with-hover:hover .action-btn {                background-position-x: -16px;                cursor: pointer;            }    </style>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="cancel()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">患者头像更新</h4>    </div>    <div class="modal-body ares-dialog-body" style="padding:20px;">        <div class="align-center" ng-hide="isOnLoad">            <div class="btn-group">                <button type="button" class="btn btn-default btn-charge" ng-disabled="pictureInputSource==\'pictureInput\'" ng-click="changePictureInputSource(\'pictureInput\')">                    本地照片                </button>                <button type="button" class="btn btn-default btn-charge" ng-disabled="pictureInputSource==\'cameraInput\'" ng-click="changePictureInputSource(\'cameraInput\')">                    自拍头像                </button>            </div>            <div ng-include src="buildImageTemplateUrl()" style="display:none;"></div>        </div>        <div id="pictureInput" ng-show="pictureInputSource==\'pictureInput\'">            <div class="picture-area with-hover" ng-if="!picture.filePath" ng-click="onClickFileDialog($event)">                <label style="padding-top:28%;" for="picture-upload" class="area-text">点此上传</label>                <br />                <label class="action-btn upload" id="picture-upload"></label>            </div>            <div class="picture-area" ng-if="picture.filePath">                <div style="width: 78%; height: 100%; display: inline-block; vertical-align: middle; line-height: 348px;">                    <img ng-src="{{picture.filePath}}" style="max-width: 100%; max-height: 100%;" />                </div>                <div class="picture-action" style="padding-top:22%;" ng-hide="isOnLoad">                    <button class="button-action" ng-click="onClickFileDialog($event)">                        <span class="action-btn upload" style="display:inline-block;"></span>                    </button>                    <br />                    <br />                    <button class="button-action" ng-click="deletePicture()" style="margin-right: 2px">                        <span class="action-btn delete" style="display:inline-block;"></span>                    </button>                </div>            </div>        </div>        <div id="cameraInput" ng-show="pictureInputSource==\'cameraInput\'">            <div class="picture-area" ng-show="!cameraStatus.initialized">                <span>正在初始化摄像头...</span>            </div>            <div class="picture-area" ng-show="cameraStatus.initialized">                <div style="width: 78%; height: 100%; display: inline-block; vertical-align: top;">                    <video id="video" autoplay="" style="width:100%;height:100%" ng-show="cameraStatus.action==\'taking\'"></video>                    <div ng-show="cameraStatus.action==\'taked\'||cameraStatus.action==\'saved\'">                        <canvas id="canvas"></canvas>                    </div>                </div>                <div class="picture-action" style="padding-top:27%;" ng-show="cameraStatus.action==\'taking\'">                    <button class="button-action" ng-click="takePhoto()" ng-show="cameraStatus.action==\'taking\'">                        <span class="action-btn take" style="display:inline-block;"></span>                    </button>                </div>                <div class="picture-action" style="padding-top:22%;" ng-show="cameraStatus.action==\'taked\'||cameraStatus.action==\'saved\'">                    <button class="button-action" ng-click="saveCamera()" ng-show="cameraStatus.action==\'taked\'">                        <span class="action-btn save" style="display:inline-block;"></span>                    </button>                    <br />                    <br />                    <button class="button-action" ng-click="onClickCamera()" ng-show="cameraStatus.action==\'taked\'||cameraStatus.action==\'saved\'">                        <span class="action-btn retake" style="display:inline-block;"></span>                    </button>                </div>            </div>        </div>    </div>    <div class="modal-footer ares-dialog-footer align-center">        <button type="button" class="btn btn-primary ares-btn-blue" ng-click="save()">确定</button>        <button type="button" class="btn btn-default" ng-click="cancel()">取消</button>    </div></div>');templateCache.put('/app/patient/views/patient-photo/upload-photo-item.html','<input id="pictureUploadPanel" style="display:none" upload-photo-item type="file"       accept="image/*"       add="addUpload(e,data)"       send="beforeUpload(e,data)"       start="uploadStart(e,data)"       stop="uploadStop(e,data)"       uploadprogress="uploadProgressed(e,data)"       done="uploadFinished(e,data)"       fail="uploadFailed(e,data)" /><button type="button" ng-click="onClickFileDialog($event)" class="btn btn-default">本地照片</button>');})();